<= (Less than or equal)
 

Syntax

expressionLEFT <=   expressionRT
Description

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


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

   IF( 69 <= 420 ) THEN PRINT "( 69 <= 420 ) is true."
   IF NOT( 60 > 420 ) THEN PRINT "not( 420 > 69 ) is true."
Differences from other BASICs

See also