19.08.2009, 22:59
Somewhere you're using an invalid cell in an array
Example:
new variable[50]; //this creates an array with 50 cells, cells 0 - 49
variable[57]=1337; //This can't work because there is no cell 57
Same effect with strings, the amount of cells is basically how many letters it can have, in the previous case, you couldn't have more than 49 letters (0 counts as something or another)
Example:
new variable[50]; //this creates an array with 50 cells, cells 0 - 49
variable[57]=1337; //This can't work because there is no cell 57
Same effect with strings, the amount of cells is basically how many letters it can have, in the previous case, you couldn't have more than 49 letters (0 counts as something or another)