ArrayDims General System Function The ArrayDims function counts the dimensions in an array. Syntax ArrayDims(<arrayname>) Example ArrayDims(MyArray) Parameters <arrayname> The array name to count dimension in.