<?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="Control flow - Page 9 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=control_flow&amp;p=8">1.Previous</a><br />
<a accesskey="3" href="page.php?w=control_flow&amp;p=10">3.Next</a>
</p>

<p><big>Block</big></p>
<p>Most languages provide for organizing sequences of code as a <a href="page.php?w=block_%28programming%29">block</a>. When used with a control statement, the beginning of a block provides a jump target. For example, in the following C code (which uses curly braces to delimit a block), control jumps from line 1 to 4 if done is false.</p>

<p><syntaxhighlight lang="c" line>if (done) {    printf("All done");} else {    printf("Still workin' on it");}</syntaxhighlight></p>

<p><big>Control</big></p>
<p>Many control commands have been devised</p><p>
<a accesskey="1" href="page.php?w=control_flow&amp;p=8">1.Previous</a><br />
<a accesskey="3" href="page.php?w=control_flow&amp;p=10">3.Next</a>
</p>

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

</card>
</wml>
