1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/Greater-Than.md
2022-12-24 19:12:43 -06:00

568 B

The > condition symbol denotes that a value must be greater than another value for the condition to be True.

Syntax

IF x > 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