Index index_number of array_name is out of range in script_name. Script terminated.

Situation

The index value used to reference an array is larger than the size of the array. Number is the index value that is out of range. Array_name is the array for which the index value exceeded the size of the array. Script_name is the script that was active when the array size was exceeded.

Solution

Be sure that any variable used as the index for the array doesn't exceed the size of the array. Determine whether the array is large enough or whether the array size was entered incorrectly when the array was created.


Documentation Feedback