Difference between revisions of "True"

From Wiki
Jump to: navigation, search
(removed syntax section, moved example section)
(change read only to template)
Line 3: Line 3:
 
'''Constant System Variables'''
 
'''Constant System Variables'''
 
=== Description ===
 
=== Description ===
<span title="Read Only" style="border-bottom:1px dotted">&rarr;</span>
+
{{RO}}
 +
 
 
A constant that represents boolean true.
 
A constant that represents boolean true.
  

Revision as of 10:34, 7 August 2005

#true

Constant System Variables

Description

Template:RO

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