Determines if an OLE variant is an array, and if so, obtains the number of dimensions in that array.
FUNCTION GET_VAR_DIMS
(var OLEVAR)
RETURN vardims PLS_INTEGER;
Built-in Type unrestricted function
Returns A value of zero (0) if the variant is not
an array. Otherwise, the return value is the number of dimensions in the array.