<?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="Block (programming) - Page 12 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=block_(programming)&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=block_%28programming%29&amp;p=13">3.Next</a>
</p>
<p>difference in this case, and the use of block structure, supported by indenting for readability, makes it easy for the programmer to refactor the code.</p>

<p><syntaxhighlight lang="pascal">    if wages > tax_threshold then        begin        paystax := true;        tax := (wages - tax_threshold) * tax_rate        if wages > supertax_threshold then begin            pays_supertax := true;            supertax := (wages - supertax_threshold) * supertax_rate        end        else begin            pays_supertax := false;            supertax := 0        end    end    else begin        paystax := false; pays_supertax := false;        tax := 0; supertax := 0    end;    taxed := wages - tax - supertax;</syntaxhighlight></p><p>
<a accesskey="1" href="page.php?w=block_(programming)&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=block_%28programming%29&amp;p=13">3.Next</a>
</p>

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

</card>
</wml>
