Difference between revisions of "True"
From Wiki
(removed syntax section, moved example section) |
|||
Line 2: | Line 2: | ||
== #true == | == #true == | ||
'''Constant System Variables''' | '''Constant System Variables''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Description === | === Description === | ||
<span title="Read Only" style="border-bottom:1px dotted">→</span> | <span title="Read Only" style="border-bottom:1px dotted">→</span> | ||
Line 14: | Line 9: | ||
Internally, <tt>#true</tt> is represented by the integer value -1. | Internally, <tt>#true</tt> is represented by the integer value -1. | ||
− | |||
− | |||
− | |||
==== Example ==== | ==== Example ==== | ||
<pre>if #false | <pre>if #false | ||
Line 22: | Line 14: | ||
if #true | if #true | ||
display ok This will always be displayed</pre> | display ok This will always be displayed</pre> | ||
− | + | ==== See Also ==== | |
+ | [[false]] | ||
+ | ---- | ||
[[Documentation]] | [[Documentation]] |
Revision as of 08:47, 7 August 2005
#true
Constant System Variables
Description
→ A constant that represents boolean true.
The constant #true is used to assign or compare a variable or an expression with the boolean true value.
Internally, #true is represented by the integer value -1.
Example
if #false display ok This will never be displayed if #true display ok This will always be displayed