function ArrayDim(Byref id)
Returns the number of dimensions in an array
Related:
ArrayCopy
ArrayFill
ArraySize