next up previous contents
Next: Operator Up: Sets, Lists, Arrays and Previous: Object Copy

Length of an Object

Calling Sequence:
length(obj)
Parameters:
obj : { string, list, array, set}

Returns: {0, posint}

Synopsis: Returns the length of the given object obj.

Examples:

> length('');                  # the empty string.
> length({1, 2, {3, 4}, 2});
> length([1, 2, 3, 4]);




Gaston Gonnet
1998-09-15