Navigation:  thinBasic Modules > iComplex >

iComplex_SetImag

Previous pageReturn to chapter overviewNext page

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