> (Greater than)
 

Syntax

expressionLEFT >  expressionRT
Description

The > (Greater-than) Operator evaluates two expressions, compares them and returns the resulting condition. The condition is false (0) if the left-hand side expression is less than or equal to the right-hand side expression, or true (1) if it is greater than the right-hand side expression.

Example


The <= (Less-than Or Equal) Operator is complement to the > (Greater-than) Operator, and is functionally identical when combined with the NOT (Bit-wise Complement) Operator:

   IF( 420 > 69 ) THEN PRINT "( 420 > 69 ) is true."
   IF NOT( 420 <= 69 ) THEN PRINT "not( 420 <= 69 ) is true."


Differences from other BASICs

See also