I just discovered that RC4 for Windows does not issue an
error message if one tries to access array element nr. -1
Here's the code I tried:
#declare A = array[1] { 0 }
// No error messages
#declare N = A[-1];
#declare A[-1] = 0;
// "Parse Error: Negative subscript"
#declare N = A[-2];
#declare A[-2] = 0;
If this is not old news, then can anyone please confirm this ?
Tor Olav
Post a reply to this message
|