'Array index out of bounds' means that we are trying to access and array subscript that does not exist...
Dim NumberArray(1000)
Print NumberArray(1001)
Will produce the same error.
So somewhere there is an attempt to access a subscript beyond 360 (or possibly, I suppose, less than zero).
Dim NumberArray(1000)
Print NumberArray(1001)
Will produce the same error.
So somewhere there is an attempt to access a subscript beyond 360 (or possibly, I suppose, less than zero).