BASIC commands
PROGRAMMING MANUAL 28
Revision 1.0
3.2.9 > (Is greater than)
/i
3.2.10 >= (Is greater than or equal to)
/i
3.2.11 < (Is less than)
/i
3.2.12 <= (Is less than or equal to)
/i
Type Mathematical function
Syntax expression1 > expression2
Description The operator > returns TRUE if expression1 is greater than expression2,
otherwise it returns FALSE.
Arguments • expression1
Any valid BASIC expression.
• expression2
Any valid BASIC expression.
Example IF a > 10 THEN GOTO label1
If variable a contains a value greater than 10, program execution continues at
label label1. Otherwise, program execution continues with the next state-
ment.
See also N/A
Type Mathematical function
Syntax expression1 >= expression2
Description The operator >= returns TRUE if expression1 is greater than or equal to
expression2, otherwise it returns FALSE.
Arguments • expression1
Any valid BASIC expression.
• expression2
Any valid BASIC expression.
Example IF a >=10 THEN GOTO label1
If variable a contains a value greater than or equal to 10, program execution
continues at label label1. Otherwise, program execution continues with the
next statement.
See also N/A
Type Mathematical function
Syntax expression1 < expression2
Description The operator < returns TRUE if expression1 is less than
expression2, otherwise it returns FALSE.
Arguments • expression1
Any valid BASIC expression.
• expression2
Any valid BASIC expression.
Example IF a < 10 THEN GOTO label1
If variable a contains a value less than 10, program execution con-
tinues at label label1. Otherwise, program execution continues
with the next statement.
See also N/A
Type Mathematical function
Syntax expression1 <= expression2
Description The operator <= returns TRUE if expression1 is less than or equal to
expression2, otherwise it returns FALSE.
Arguments • expression1
Any valid BASIC expression.
• expression2
Any valid BASIC expression.
Example IF a <= 10 THEN GOTO label1
If variable a contains a value less than or equal to 10, program execution con-
tinues at label label1. Otherwise, program execution continues with the next
statement.
See also N/A