Lower or equal (<=)
The <=
operator
is provided to test whether a value or expression is lower than or
equal to another.
Syntax
expr <= expr
Usage
Applies to most data types, except complex types such as BYTE
and TEXT
.
If one of the operands is NULL
, the comparison expression evaluates to
FALSE
.
Example
MAIN
DEFINE n INT
LET n = 100
IF n <= 100 THEN
DISPLAY "The variable is lower than or equal to 100."
END IF
END MAIN