Builtins.size3kaya
Length of an array
Usage
Int size( var [a] xs )
Arguments
xs An array
Overview
Return the length of an array.
The empty array has length 0, and uninitialised elements are considered
to exist for the purposes of determining length.
-
arr = [];
arr[5] = 26;
l = length(arr); // 6
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.