With side-effects I'd rather prefer a non short circuit solution for clarity.
If a short circuit effect is side effects areš wanted, it should be done explicitly.
Cheers Rolf
1) corrected bad phrasing!
In reply to Re^3: How to Do Multiple OR in For Loops
by LanX
in thread How to Do Multiple OR in For Loops
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |