不等于:【NE】、【<>】、【>
大于等于:【GE】、【>=】、【=>】;
小于等于:【LE】、【<=】、【=>】。
小于:【LT】、【
大于:【GT】、【>】;
DATA: A TYPE I,
B TYPE I.
****************TEST1:
WRITE:'TEST1:', / .
A = '1'.
B = '1'.
IF B >< A.
WRITE: B,'>
ELSE.
WRITE: B,'=',A.
ENDIF.
WRITE /.
****************TEST2:
WRITE:'TEST2:', / .
A = '1'.
B = '2'.
IF B >< A.
WRITE: B,'>
ELSE.
WRITE: B,'=',A.
ENDIF.
WRITE /.
****************TEST3:
WRITE:'TEST3:', / .
A = '1'.
B = '2'.
IF B => A.
WRITE: B,'=>',A.
ELSE.
WRITE: B,'
ENDIF.
WRITE /.
****************TEST4:
WRITE:'TEST4:', / .
A = '2'.
B = '1'.
IF B => A.
WRITE: B,'=>',A.
ELSE.
WRITE: B,'
ENDIF.
WRITE /.
****************TEST5:
WRITE:'TEST5:', / .
A = '1'.
B = '2'.
IF B =< A.
WRITE: B,'=>',A.
ELSE.
WRITE: B,'>',A.
ENDIF.
WRITE /.
****************TEST6:
WRITE:'TEST6:', / .
A = '2'.
B = '1'.
IF B =< A.
WRITE: B,'=
ELSE.
WRITE: B,'>',A.
ENDIF.
WRITE /.