True

From Wiki
(Redirected from Var true)
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

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