ERROR: UNKNOWN STATE IN COMPILER
int i = 0;
for (; i<GetStringLength(sID); ++i)
No error.
Anyone?
Modifié par Xardex, 26 février 2012 - 03:56 .
Modifié par Xardex, 26 février 2012 - 03:56 .
Modifié par Xardex, 26 février 2012 - 04:40 .
Xardex wrote...
Madness. I have used half a dozen compilers and this is the first time I find myself unable to declare variable inside a loop. I suppose its a fairly common function in compilers, or I have been rather lucky.
Ironically, I have used nwscript easily the most and it's where I began coding!
Modifié par Lightfoot8, 26 février 2012 - 05:30 .
Xardex wrote...
for (int i = 0; i<GetStringLength(sID); ++i)
ERROR: UNKNOWN STATE IN COMPILER
int i = 0;
for (; i<GetStringLength(sID); ++i)
No error.
Anyone?
Modifié par Failed.Bard, 26 février 2012 - 05:47 .