Difference between revisions of "True"

From Wiki
Jump to: navigation, search
 
(6 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
if #true
 
if #true
 
   display ok This will always be displayed</pre>
 
   display ok This will always be displayed</pre>
{{footer}}
+
 
 +
== Related Functions ==
 +
{| style="background:cornsilk; color:black; "
 +
| [[False]]
 +
|}
 +
 
 +
=See Also=
 +
{{Constant}}

Latest revision as of 10:18, 13 September 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

Constant

  • Constant system variables represent characters that are used as tokens within the EasyUO language itself, or characters that would not normally be parsed properly by EasyUO.
#dot A constant that represents the dot character
#false A constant that represents boolean false
#smc A constant that represents the semicolon character
#spc A constant that represents the space character
#true A constant that represents boolean true