This run-time error is reported whenever a formula references an array with an index that is outside the valid boundaries of the array. Example:
int a[10] int x = 10 a[9] = 3 ; ok a[x] = 4 ; 10 is not within the range 0..9
To correct it, either change the declaration of the array, or change the formula so the index values stay within the boundaries of the array.
Notes