Difference between revisions of "True"

From Xojo Documentation

 
Line 11: Line 11:
  
 
''Expression'' is any valid [[Boolean]] expression.
 
''Expression'' is any valid [[Boolean]] expression.
 +
 +
== Sample Code ==
 +
<rbcode>
 +
Dim b As Boolean
 +
b = True
 +
</rbcode>
  
 
== See Also ==
 
== See Also ==
[[False]] keyword, [[And]], [[Not]], [[Or]], [[Xor]] operators.
+
[[False]] keyword, [[And]], [[Not]], [[Or]], [[Xor]] operators, [[Boolean]] data type.
  
 
[[Category:Language_Boolean]]
 
[[Category:Language_Boolean]]

Latest revision as of 14:39, 10 July 2018

Language Keyword

Used to set a Boolean object to the value of "True" or test whether an existing Boolean expression is equal to True. A comparison of two values that are equal returns True.

Usage

expression = True

Expression is any valid Boolean expression.

Sample Code

See Also

False keyword, And, Not, Or, Xor operators, Boolean data type.