Help Center

CAddImagfunction

Adds an imaginary number.

Numeric DatatypesfunctionAfxComplex.incdocumented

Syntax

FUNCTION CAddImag (BYREF z AS _complex, BYVAL y AS DOUBLE) AS _complex

Parameters

NameDescription
yA double value.

Description

Adds an imaginary number.

Example

DIM c AS _complex = (5, 6) c = CAddImag(c, 10) print CStr(c)

Reference

  • Include file AfxComplex.inc
  • Defined in AfxNova/AfxComplex.inc:395
  • Documented in Numeric Datatypes/Complex Numbers Procedures.md
  • Topic: Complex Numbers Procedures