The LBOUND function returns the lower bound of a dimension of a compile-time or run-time dimensioned array. Example dim_num% = LBOUND(A%,2)