Dim function

Gets the number of dimensions in a data field


Description

The Dim function returns the number of dimensions of the argument.


Syntax

Dim (array)

Examples

a= [3,5,6;2,3,4]= 3 5 6
2 3 4

Dim(a)= 2