Int_new

Homepage
Wrappers

Creates a new Int object.

IntObject := Int_new(value = 0)

Parameters

value The value to initialize the Int object to.

Return Value

Address for the newly created Int object.

Remarks

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

Related

Int_destroy

Int

Examples

;Creates a new Int initialized to 42
myInt := Int_new(42)

Homepage  |  Wrappers