Float_new

Homepage
Wrappers

Creates a new Float object.

FloatObject := Float_new(value = 0)

Parameters

value The value to initialize the Float object to.

Return Value

Address for the newly created Float object.

Remarks

If the system has insufficient memory to create the object (very rare), zero will be returned.

Related

Float_destroy

Float

Examples

;Creates a new Float initialized to 0.001
myFloat := Float_new(0.001)

Homepage  |  Wrappers