Next: , Previous: Close, Up: Reference



Cmplx

Synopsis

     function Cmplx (RealPart, ImaginaryPart: Real): Complex;

Description

Cmplx makes a complex number from RealPart and ImaginaryPart.

Conforming to

Cmplx is an ISO 10206 Extended Pascal extension.

Example

     program CmplxDemo;
     var
       z: Complex;
       x, y: Real;
     begin
       z := Cmplx (x, y)  { z := x + iy }
     end.

See also

Re, Im, Polar, Arg