<?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="Bounds checking - Page 1 - Wikipedia">
<p>
<a accesskey="3" href="page.php?w=bounds_checking&amp;p=2">3.Next</a>
</p>
<p>In <a href="page.php?w=computer_programming">computer programming</a>, <b>bounds checking</b> is any method of detecting whether a <a href="page.php?w=variable_%28programming%29">variable</a> is within some <a href="page.php?w=upper_and_lower_bounds">bounds</a> before it is used. It is usually used to ensure that a number fits into a given type (range checking), or that a variable being used as an <a href="page.php?w=Array_data_structure">array</a> index is within the bounds of the array (index checking). A failed bounds check usually results</p><p>
<a accesskey="3" href="page.php?w=bounds_checking&amp;p=2">3.Next</a>
</p>

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

</card>
</wml>
