True

From Wiki
Revision as of 12:46, 26 August 2005 by Kedrick Valorite (Talk | contribs)

Jump to: navigation, search
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

Main Page Documentation