Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7118
Chapter 2 Program Instructions
IF...THEN...(ELSE), cont.
Examples, cont.
IF ... THEN are often used in connection with GOTO. In this example, line
numbering is used. Also see the example for the GOTO statement.
10 A%=100
20 B%=50
30 IF A%=B% THEN GOTO 50 ELSE PRINT "NOT EQUAL"
40 END
50 PRINT "EQUAL":END
RUN
yields:
NOT EQUAL
This example correspond to the preceding example, but line labels are
used instead of line numbers.
IMMEDIATE OFF
A%=100
B%=50
IF A%=B% THEN GOTO QQQ ELSE PRINT "NOT EQUAL"
END
QQQ: PRINT "EQUAL":END
IMMEDIATE ON
RUN
yields:
NOT EQUAL