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

## 9.45 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

section 9.217 Re, section 9.111 Im, section 9.197 Polar, section 9.13 Arg

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