Range.getSize

Returns the number of entries. Applicable to ArrayRange only.

Arguments

None

Return values

size
as an integer number.

Complexity

Constant

Example

"sl/algorithm" useFile r: (1 2 10 50) range; r.getSize print
Output:
4