"Array index out of bounds" - CrashDetect/Teritories
#2

Your table has 6 territories with Keys 1,2,3,4,5,6
Your array has 6 slots, 0,1,2,3,4,5

Then, when you retrieve the sixth territory, the array is out of bounds.
You should use X = strval( terField ) - 1; instead of X = strval( terField );
Reply


Messages In This Thread
"Array index out of bounds" - CrashDetect/Teritories - by Edvin - 10.07.2012, 11:40
Respuesta: "Array index out of bounds" - CrashDetect/Teritories - by Siralos - 10.07.2012, 11:43
Re: "Array index out of bounds" - CrashDetect/Teritories - by Edvin - 10.07.2012, 11:48

Forum Jump:


Users browsing this thread: 1 Guest(s)