<?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="Forth (programming language) - Page 21 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Forth_(programming_language)&amp;p=20">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Forth_%28programming_language%29&amp;p=22">3.Next</a>
</p>
<p>immediately after it or to skip to the <code>ELSE</code>; <code>DROP</code> discards the value on the stack; <code>5</code> pushes a 5 on top of the stack; and <code>THEN</code> ends the conditional.</p>

<p>The <code>FLOOR5</code> word is equivalent to this function written in the <a href="page.php?w=C_%28programming_language%29">C programming language</a> using the <a href="page.php?w=Ternary_conditional_operator">conditional operator</a> '?:'</p>

<p><syntaxhighlight lang="c">int floor5(int v) {  return (v < 6) ? 5 : (v - 1);}</syntaxhighlight></></syntaxhighlight></p>

<p>This</p><p>
<a accesskey="1" href="page.php?w=Forth_(programming_language)&amp;p=20">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Forth_%28programming_language%29&amp;p=22">3.Next</a>
</p>

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

</card>
</wml>
