Difference between revisions of "True"

From Wiki
Jump to: navigation, search
(change read only to template)
m (Description)
Line 3: Line 3:
 
'''Constant System Variables'''
 
'''Constant System Variables'''
 
=== Description ===
 
=== Description ===
{{RO}}
+
{{ro}}
  
 
A constant that represents boolean true.
 
A constant that represents boolean true.

Revision as of 10:35, 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