Difference between revisions of "True"

From Wiki
Jump to: navigation, search
 
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== #true ==
+
{{header|Constant|ro|A constant that represents boolean true.
'''Constant System Variables'''
+
 
+
 
+
=== Syntax ===
+
#true
+
 
+
=== Description ===
+
→ ''Read Only''
+
 
+
A constant that represents boolean true.
+
  
 
The constant <tt>#true</tt> is used to assign or compare a variable or an expression with the boolean ''true'' value.
 
The constant <tt>#true</tt> is used to assign or compare a variable or an expression with the boolean ''true'' value.
  
Internally, <tt>#true</tt> is represented by the integer value -1.
+
Internally, <tt>#true</tt> is represented by the integer value -1.}}
==== See Also ====
+
[[false]]
+
 
+
 
==== Example ====
 
==== Example ====
 
<pre>if #false
 
<pre>if #false
Line 23: Line 10:
 
   display ok This will always be displayed</pre>
 
   display ok This will always be displayed</pre>
  
[[Documentation]]
+
== Related Functions ==
 +
{| style="background:cornsilk; color:black; "
 +
| [[False]]  
 +
|}
 +
 
 +
=See Also=
 +
{{Constant}}

Latest revision as of 09: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