IF <sortword1>|(<expression1>) EQ|NE|GE|LE|GT|LT <sortword2>|<constant>|(<expression2>) ...
where
EQ denotes "is equal to"
NE denotes "is not equal to"
GE denotes "is greater than or equal to"
LE denotes "is less than or equal to"
GT denotes "is greater than"
LT denotes "is less than"
and <constant> may be an integer or real constant.
In the above example, the spectrum increments are performed if the value of GAMA is greater than that of THRESHOLD. Otherwise event processing is terminated for that event (EVENTEND command).IF GAMA GT THRESHOLD { INC SPEC1(GAMA) INC SPEC2(TAC) } ELSE EVENTEND