iComplex_SetImag

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > iComplex >

iComplex_SetImag

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

 

Description

 

Sets the imaginary part of the complex number a.

 

Syntax

 

z = iComplex_SetImag(a, n)

 

Returns

 

Returns a tComplex UDT.

 

Parameters

 

Name

Type

Optional

Meaning

a

tComplex

No


n

Numeric

No


 

Remarks

 

Restrictions

 

See also

 

Examples