Difference between revisions of "True"

From Wiki
Jump to: navigation, search
Line 17: Line 17:
 
== See also ==
 
== See also ==
 
{| style="background:beige; color:black; border: 2px #aaa solid;"
 
{| style="background:beige; color:black; border: 2px #aaa solid;"
| Width=500px align=center | [[Main_Page]] || Width=500px align=center | [[:Category: Documentation]]
+
| Width=500px align=center | [[Main_Page]] || Width=500px align=center | [[:Category: Constant]]
 
|}
 
|}

Revision as of 10:53, 22 July 2007

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

Related Functions

False

See also

Main_Page Category: Constant