<?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 21 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Loop_(statement)&amp;p=20">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Loop_%28statement%29&amp;p=22">3.Next</a>
</p>
<p>value was held in a register and never stored in memory. Actual behavior may even vary according to the compiler's optimization settings.</p>

<p>Modifying the loop counter within the body of the loop can lead to unexpected consequences. To prevent such problems, some languages make the loop counter <a href="page.php?w=Immutable_object">immutable</a>. However, only overt changes are likely to be detected by the compiler. Situations where the address of the loop counter is passed as an argument to a <a href="page.php?w=subroutine">subroutine</a>,</p><p>
<a accesskey="1" href="page.php?w=Loop_(statement)&amp;p=20">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Loop_%28statement%29&amp;p=22">3.Next</a>
</p>

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

</card>
</wml>
