Help Center

CComplex.CSetproperty

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

Numeric DatatypespropertyCComplex.incdocumented

Syntax

PROPERTY CSet (BYVAL x AS DOUBLE, BYVAL y AS DOUBLE)
Also documented as CRect — 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 cpx AS CComplex : cpx.CSet = 3, 4 DIM cpx AS CComplex : cpx.CRect = 3, 4

Reference

  • Include file CComplex.inc
  • Defined in AfxNova/CComplex.inc:369
  • Documented in Numeric Datatypes/CComplex Class.md
  • Topic: CComplex Class