Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 75
Chapter 2 Program Instructions
END
Field of Application
Statement ending the execution of the current program or subroutine
and closing all OPENed les and devices.
Syntax END
Remarks
END can be placed anywhere in a program, but is usually placed at the
end. It is also useful for separating the main program from possible
subroutines with higher line numbers. It is possible to issue several END
statements in the same program.
Example
A part of a program, which produces xed line-spacing, may look this way:
10 FONT"Swiss 721 BT"
20 X%=300:Y%=350
30 INPUT A$
40 PRPOS X%,Y%
50 PRTXT A$
60 Y%=Y%-50
70 IF Y%>=50 GOTO 30
80 PRINTFEED
90 END
The Y-coordinate will be decremented by 50 dots for each new line until it
reaches the value 50. The END statement terminates the program.