mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
19 lines
565 B
Text
19 lines
565 B
Text
The '''>''' condition symbol denotes that a value must be greater than another value for the condition to be True.
|
|
|
|
|
|
''Example usage:'' IF x [[Greater_Than|>]] 320 THEN PRINT "Right of screen"
|
|
|
|
|
|
* Statements will evaluate as True or -1 when the first value is greater or False or 0 when equal or the first value is less.
|
|
* More than one > symbol in a numerical statement will create a [[Boolean]] evaluation of the ensuing numerical value.
|
|
|
|
|
|
''See also:''
|
|
|
|
* [[Equal|=]]
|
|
* [[Not_Equal|<>]]
|
|
* [[Less_Than|<]]
|
|
* [[Relational Operations]]
|
|
|
|
|
|
{{PageNavigation}}
|