Bug in while loop - 31/12/11 04:02 AM
Hi,
I get the following error when the innermost loop finishes its first step:
* /while: loop not found (line 9, remote.ini)
Removing the $& line break makes the problem go away.
mIRC version: 7.22
Thanks
Code:
alias test { var %row = 0 while (%row < 5) { var %col = 0 while (%col < 5) { if (0 == 0) { inc %col while ((%col < 5) && $& (0 == 0)) { inc %col } } inc %col } inc %row } }
I get the following error when the innermost loop finishes its first step:
* /while: loop not found (line 9, remote.ini)
Removing the $& line break makes the problem go away.
mIRC version: 7.22
Thanks