Array_size |
Homepage Containers |
Returns the number of elements the Array object can hold (alias for Array_length).
length := Array_size(ArrayObject)
| ArrayObject | The Array object to use for the current operation. |
If ArrayObject is NULL (0 or blank), the empty string is returned, to indicate an error.
;Creates a new Array (of length 10) myArray := Array_new(10) ;Outputs the Array's length (10) MsgBox, % "myArray has " Array_size(myArray) " elements."