Difference between revisions of "True"

From Wiki
Jump to: navigation, search
(removed syntax section, moved example section)
Line 2: Line 2:
 
== #true ==
 
== #true ==
 
'''Constant System Variables'''
 
'''Constant System Variables'''
 
 
=== Syntax ===
 
#true
 
 
 
=== Description ===
 
=== Description ===
 
<span title="Read Only" style="border-bottom:1px dotted">&rarr;</span>
 
<span title="Read Only" style="border-bottom:1px dotted">&rarr;</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.
==== See Also ====
 
[[false]]
 
 
 
==== 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 09: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

See Also

false


Documentation