Array_new |
Homepage Containers |
Creates a new Array object with the specified length.
ArrayObject := Array_new(length)
| length | The number of elements the created Array will be able to hold. |
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.
;Creates a new Array (of length 10)
myArray := Array_new(10)