<p>Am 11.10.2015 23:56 schrieb "Steve Smith" <<a href="mailto:fski12@yahoo.com">fski12@yahoo.com</a>>:<br>
><br>
> Am I being stupid? It's late here so...<br>
><br>
> What's wrong with....<br>
><br>
> === code begin ===<br>
><br>
> while bool do<br>
> foo;<br>
> bar;<br>
><br>
> or<br>
><br>
> repeat<br>
> foo;<br>
> until bool;<br>
><br>
> bar;<br>
><br>
> === code end ===</p>
<p>You know... You got me there... <br>
Though at least for the while-loop it may have a use if one defines the then-clause as being executed only if the loop was entered once. Or - using a different keyword - if the loop was never executed.<br>
The repeat-loop however is always executed at least once, so there it's completely useless indeed...</p>
<p>Regards,<br>
Sven</p>