de></pre>
<p>FOR marks the start of the loop and NEXT marks the end of it. The loop itself contains a single PRINT statement.</p>
<p>When the FOR statement is executed the first time, <strong>a</strong> is set to 1. When it's executed the second time, <strong>a</strong> is set to 2. The third time, it is set to 3.</p>
<p>If you write a script like this, don't forget to write NEXT a rather than just NEXT. If you forget the variable, you'll see an error message.</p>
<h2><a name="7.7">7.7 Using STEP</a></h2>
<