Return an integer giving the dimensionality of the array
DIMENSIONALITY | [array=Array] | Returns the number of dimensions |
example:
# create an array and print its dimensionality >> a = dimensions(2,3,4) >> printn dimensionality(a) 3
Returns the dimensionality of an array.
Array (Array)
The array to test the dimensionality of.
RESULT = (Integer)
Number of dimensions