Array_new

Homepage
Containers

Creates a new Array object with the specified length.

ArrayObject := Array_new(length)

Parameters

length The number of elements the created Array will be able to hold.

Return Value

Address for the newly created Array object.

Remarks

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

If length < 0, this function does not create a new Array object, and instead returns the empty string to indicate an error.

Related

Array_new1, Array_destroy

Array

Examples

;Creates a new Array (of length 10)
myArray := Array_new(10)

Homepage  |  Containers