INI stock causes "Unknown Command" message
#8

Quote:
Originally Posted by Nyitz
Посмотреть сообщение
Is it really? In both cases the array has 20 elements, so the size should be equal (but I'm aware that this "method" is still completely illogical ).
Afaik, it is wasteful, because you're creating an array of 2 dimensions, instead of 1, therefore using 64 bits of memory instead of 32.

Are you sure it is at INI_Close where it stops working? If it is, that's rather odd and shouldn't really happen. Are you using the latest Y_INI?

Код:
[17:02:55] [debug] Run time error 4: "Array index out of bounds"
[17:02:55] [debug]  Attempted to read/write array element at negative index -1
That tells me exactly what I was suspecting (underflow). Try printing the CarFile variable (before closing it) and see what it returns.
Код:
printf("CarFile - %i",_:Carfile);
Try commenting out parts of the script, try to narrow down where the issue might be.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)