Run Time Error 4: "Array index out of bounds"
#2

did you buy a car worth $30000? ot what is the Array[-30000] supposed to access?
find anything that fits that 30000 value, and check out all enums/arays which gets (ab)used as pointer, like
pawn Код:
new number=-30000;
new pointer[10]={10,3,84,24,41,12,53,1,46,13};
new result=pointer[number];
when number equals -30000, then pointer[-30000] is invalid
Reply


Messages In This Thread
Run Time Error 4: "Array index out of bounds" - by pepy - 12.08.2012, 10:40
Re: Run Time Error 4: "Array index out of bounds" - by Babul - 12.08.2012, 10:55
Re: Run Time Error 4: "Array index out of bounds" - by pepy - 12.08.2012, 11:26
Re: Run Time Error 4: "Array index out of bounds" - by Babul - 12.08.2012, 23:39
Re: Run Time Error 4: "Array index out of bounds" - by pepy - 14.08.2012, 23:27

Forum Jump:


Users browsing this thread: 1 Guest(s)