Previous: Array Concatenation, Up: Arrays [Contents][Index]
The following attributes are defined for array values.
size
Gives an offset with the storage occupied by the complete array. Example:
(poke) [1,2,3]'size 96UL#b
length
Gives the number of elements stored in the array. Example:
(poke) [1,2,3]'length 3
mapped
Gives 1 if the array is mapped, 0 otherwise. Examples:
(poke) defvar a = [1,2,3] (poke) defvar b = int[3] @ 0#B (poke) a'mapped 0 (poke) b'mapped 1