Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 227
Chapter 2 Program Instructions
RUN
Field of Application
Statement for starting the execution of a program.
Syntax RUN[<<scon>|<ncon>>]
<scon> optionally speci es an existing program to be run.
<ncon> optionally speci es the number of a line in the current program
where the execution will start.
Remarks
The RUN statement starts the execution of the program currently residing in
the printers working memory, or optionally of a speci ed program residing
elsewhere. The execution will begin at the line with the lowest number, or
optionally from a speci ed line in the current program.
If a program stored in another directory than the current one (see CHDIR
statement), and has not been LOADed, its designation must be preceded
by a reference to that device ("c:", "tmp:", "rom:", or "card1:", see
the last example).
Never use RUN on a numbered line or in a line without number in
the Programming Mode, or Error 40, Run statement in program
will occur.
A RUN statement executed in the Intermec Direct Protocol will make
the printer switch to the Immediate Mode, that is it has the same effect
as an INPUT OFF statement.
Examples
Order the execution of a program this way:
RUN
Executes the current program from its rst line.
RUN 40
Executes the current program, starting from line 40.
RUN "TEST"
Executes the program TEST.PRG" from its rst line.
RUN "TEST.PRG"
Executes the program FILELIST.PRG", which is stored in a read-only
memory card, from its rst line.
RUN "rom:FILELIST.PRG"