
<p>When Axbasic reaches the WHILE statement for the first time, the count is already bigger than 5, so Axbasic immediately skips to the first line after the LOOP statement. The output simply looks like this:</p>
<pre><code>    Finished!
</code></pre>
<p>By the way, you can use EXIT WHILE if you need to stop a WHILE loop prematurely, just you used EXIT DO to stop a DO loop prematurely.</p>
<h2><a name="7.5">7.5 Using expressions</a></h2>
<p>A useful trick is to use an expression, rather than a condition. Co