iComplex_AddImag

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > iComplex >

iComplex_AddImag

Source code public domain from José Roca: http://www.jose.it-berater.org/smfforum/index.php?topic=3191.0  

 

Description

 

Returns the sum of the complex number a and the imaginary number i, z=a+i

 

Syntax

 

z = iComplex_AddImag(a, i)

 

Returns

 

Returns a tComplex UDT.

 

Parameters

 

Name

Type

Optional

Meaning

a

tComplex

No


i

Numeric

No


 

Remarks

 

Restrictions

 

See also

 

Examples