<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>EvalBool</title> <link rel="stylesheet" href="../fpdoc.css" type="text/css"> </head> <body> <table class="bar" width="100%" border="0" cellpadding="4" cellspacing="0"> <tr> <td><b>[<a href="../nvpainter/index.html">Overview</a>][<a href="../nvpainter/index-4.html">Classes</a>][<a href="../nvpainter/index-5.html">Procedures and functions</a>][<a href="../nvpainter/index-8.html">Index</a>]</b></td> <td align="right"><span class="bartitle">Reference for unit 'nvPainter' (<a href="../index.html">#nvidia-widgets</a>)</span></td> </tr> </table> <h1>EvalBool</h1> <p>Boolean evaluation function</p> <h2>Declaration</h2> <p>Source position: nvpainter.pas line 85</p> <table cellpadding="0" cellspacing="0"> <tr> <td><p><tt><span class="code"><span class="kw">function</span> EvalBool<span class="sym">(</span></span></tt></p></td> </tr> <tr> <td><p><tt><span class="code"> b<span class="sym">: </span>Boolean</span></tt></p></td> </tr> <tr> <td><p><tt><span class="code"><span class="sym">):</span>Byte<span class="sym">;</span></span></tt></p></td> </tr> </table> <h2>Description</h2> <p>This function evaluates a boolean to a numerical value.</p> <p>True equals 1 False equals 0</p> </body> </html>