Negative Array Index (Game Maker)

This error happens when an array has a negative index. Example: myvar[-1] = 1;. Notice the -1. That is the array index, but you cannot have negative numbers as the index.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.