17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

END<br />

Chapter 2 Program Instructions<br />

Field of Application Statement ending the execution of the current program or subroutine<br />

and closing all OPENed files and devices.<br />

Syntax END<br />

Remarks END can be placed anywhere in a program, but is usually placed at the end.<br />

It is also useful for separating the “main” program from possible subroutines<br />

with higher line numbers. It is possible to issue several END statements in the<br />

same program.<br />

Example A part of a program, which produces fixed line-spacing, may look this way:<br />

10 FONT"Swiss 721 BT"<br />

20 X%=300:Y%=350<br />

30 INPUT A$<br />

40 PRPOS X%,Y%<br />

50 PRTXT A$<br />

60 Y%=Y%-50<br />

70 IF Y%>=50 GOTO 30<br />

80 PRINTFEED<br />

90 END<br />

The Y-coordinate will be decremented by 50 dots for each new line until it<br />

reaches the value 50. The END statement terminates the program.<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!