ARRAYDIMS
Syntax ARRAYDIMS array
 
Explanation

ARRAYDIMS reports a list of numbers describing the dimensions of the array named in its input. This list matches the input to the ARRAY primitive when the array was created.

See also ARRAY?.
 

Examples MAKE "A ARRAY [2 3 4] 
ARRAYDIMS :A 
Result: [2 3 4]

TopIndex