iComplex_AddReal

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > iComplex >

iComplex_AddReal

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 real number r, z=a+r.

 

Syntax

 

z = iComplex_AddReal(a, r)

 

Returns

 

Returns a tComplex UDT.

 

Parameters

 

Name

Type

Optional

Meaning

a

tComplex

No


r

Numeric

No


 

Remarks

 

Restrictions

 

See also

 

Examples