Some other alternatives not yet mentioned:
while (not $error and $a < $b) { $a++; }
and
do { while ($a < $b) { $a++; } } if (not $error);
and
do { $a++ while ($a < $b); } if (not $error);
In reply to Re: backwards if and while looping
by ikegami
in thread backwards if and while looping
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |