Help Center

CRetfunction

Numeric DatatypesfunctionAfxComplex.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION CRet (BYVAL x AS DOUBLE, BYVAL y AS DOUBLE) AS _complex
Also documented as CRect, CSet — one description covers them all.

Parameters

NameDescription
x, yDouble values.

Description

Uses the cartesian components (x,y) to set the real and imaginary parts of the complex number.

Example

DIM z AS _complex = CSet(3, 4)

Reference