>= (Greater than or equal)
 

Syntax

lexpressionLEFT >= expressionRT
Description

The >= (Greater-than) or Equal 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 the right-hand side expression, or true (1) if it is greater than or equal to the right-hand side expression.

Example


The < (Less-than) Operator is complement to the >= (Greater-than or Equal) 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