19.04.2011, 13:23
Quote:
Numbering starts at 0 - and so 0 to 13 is 14 different integers
|
however, for dimension sizes you need to add one more to pawn.
If your array size is supposed to hold 15 integers, you need to define 16.
It's a fail I know, blame pawn.
PS: I see you added i++;
Compiler does not see i as a value, therefore it will not validate the dimension size and cause no error upon compiling.
If you would replace every i with a non-var number, it will error on the last dimension as your code is.