All BASIC commands
Section 4-2
87
4-2-10 >= (Is greater than or equal to)
/i
4-2-11 < (Is less than)
/i
4-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 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 exe-
cution continues at label
label1
. Otherwise, program execution contin-
ues 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 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 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 execu-
tion continues at label
label1
. Otherwise, program execution continues
with the next statement.
See also
N/A
Summary of Contents for SYSMAC CJ Series
Page 2: ......
Page 70: ...Specifications Section 2 4 58...
Page 84: ...FINS commands Section 3 4 72...
Page 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Page 370: ...Section 358...