Difference between revisions of "True"

From Wiki
Jump to: navigation, search
m
m (Example)
Line 22: Line 22:
 
if #true
 
if #true
 
   display ok This will always be displayed</pre>
 
   display ok This will always be displayed</pre>
 +
 +
[[Documentation]]
  
 
[[Constant System Variables]]
 
[[Constant System Variables]]

Revision as of 17:14, 6 August 2005

#true

Constant System Variables


Syntax

#true

Description

Read Only

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.

See Also

false

Example

if #false
  display ok This will never be displayed
if #true
  display ok This will always be displayed

Documentation

Constant System Variables