Gets the number of dimensions in a data field
The Dim function returns the number of dimensions of the argument.
Dim (array)
a= [3,5,6;2,3,4]= 3 5 6 2 3 4 Dim(a)= 2
Dim(a)= 2