Array.getSize

Returns the number of entries in the array.

Arguments

None

Return values

size
of the array as an integer number.

Complexity

Constant

Example

"sl/array" useFile a: (1 2 0 5 "Hello" 0.3) makeArray; a.getSize print
Output:
6