Invalid subscript specified
A value specified as a subscript is outside the allowable range of values, which could indicate one of the following situations:
- The starting position for a variable in a subscripted, ranged, or indexed expression is less than or equal to zero.
- The ending position in a ranged expression is less than the starting position.
- The memory area referenced through a subscripted, ranged, or indexed expression is outside the bounds of either the routine’s local data area, a calling routine’s data area (in the case of parameters), or a global data area (in the case of global variables).
- A real array is referenced with .