>I need to decide if a variable is of array type or not. TYPE() and VARTYPE() functions return the type of the first array element, but not the variable type. Any other ideas?
For any array variable (for this example, the name is variablename), TYPE('VariableName[1]') will return a value other than 'U', while for any simple non-array type, TYPE('VariableName[1]') will return 'U'.