[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.217 Re

Synopsis

 
function Re (z: Complex): Real;

Description

`Re' extracts the real part of the complex number `z'.

Conforming to

`Re' is an ISO-10206 Extended Pascal extension.

Example

 
program ReDemo;
var
  z: Complex;
begin
  z := Cmplx (1, 2);
  WriteLn (Re (z) : 0 : 5)
end.

See also

section 9.45 Cmplx, section 9.111 Im, section 9.13 Arg



This document was generated by Frank Heckenbach on May, 10 2002 using texi2html