Node:Complex, Next:, Previous:Comp, Up:Reference



Complex

(Under construction.)

Synopsis


type
  Internal_Complex = record  { not visible }
    RealPart, ImaginaryPart: Real
  end;
  Complex = restricted Internal_Complex;

Description

Conforming to

Complex is an ISO 10206 Extended Pascal extension.

Example


program ComplexDemo;
var
  a: Complex;
begin
  a := Cmplx (42, 3);
  WriteLn (Re (a), ' + ', Im (a), ' i')
end.

See also