function Cmplx (RealPart, ImaginaryPart: Real): Complex;
Cmplx makes a complex number from RealPart and ImaginaryPart.
Cmplx is an ISO 10206 Extended Pascal extension.
program CmplxDemo; var z: Complex; x, y: Real; begin z := Cmplx (x, y) { z := x + iy } end.