While the operand evaluation order for the ops you've used in your example isn't defined, it doesn't matter (unless there's an overflow) for that example. It's just a clarity issue.
$i appears only once, the behaviour is defined
Except it ($Counter) appeared twice.
In reply to Re^5: Boolean counter?
by ikegami
in thread Boolean counter?
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |