mIRC Home    About    Download    Register    News    Help

Print Thread
#74390 07/03/04 11:31 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline OP
Hoopy frood
OP Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
  • //if 0 && $+( () ) { echo -a 1 | echo -a 2 }
- echo's 2 [shouldn't echo anything]
  • //echo -a $iif(0 && $+( () ),true,false)
- echo's nothing and halts further processing [should echo false and move on]

To avoid this bug we could either eliminate the spaces inside the second condition or surround it with parentheses. Still, I believe it's a bug, although it only happens with ()'s-less versions.

#74391 04/06/04 08:18 AM
Joined: Dec 2002
Posts: 329
Fjord artisan
Offline
Fjord artisan
Joined: Dec 2002
Posts: 329
Solved in mIRC 6.15
23.Fixed /if comparison evaluation bug with $identifiers.
33.Fixed while/if bug when using $iif() in comparisons.


Link Copied to Clipboard