RANK
Returns the number of dimensions in an array.
RANK( array-name[$] )
Usage:
RANK(Color)
RANK(File$)
IF RANK(A)=2 THEN PRINT "Two Dims"
Example:
RANK.BAS
Description:
RANK
returns an
INTEGER
value from one to six that specifies the number of dimensions that are defined for the array.
See Also:
BASE
,
DIM
,
MAXLEN
,
SIZE