<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Loop (statement) - Page 10 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Loop_(statement)&amp;p=9">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Loop_%28statement%29&amp;p=11">3.Next</a>
</p>
<p> and increment, both of which are blocks of code. The initialization is intended as code that prepares the loop and is run once in the beginning and increment is used to update the state of the program after each iteration of the loop. Otherwise, the three-part for loop is a pre-test loop.They are commonly formatted in manner similar to <b>for</b> initialization, condition, increment <b>do</b>     body <b>repeat</b></p>

<p>This syntax came from <a href="page.php?w=B_%28programming_language%29">B</a> and was originally invented by <a href="page.php?w=Stephen_C._Johnson">Stephen C. Johnson</a>.</p><p>
<a accesskey="1" href="page.php?w=Loop_(statement)&amp;p=9">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Loop_%28statement%29&amp;p=11">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
