The compiler expects a number greater than or equal to zero but finds something different.
For example, the error could be thrown if a negative number is used for the array element index or as the second parameter to the Alloc command.
Alloc
Possible solutions: use a number greater than or equal to zero:
$var[-1] = 0 // error $var[1] = 0 // OK
Last updated 1 year ago