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.

RUN<br />

Field of Application Statement for starting the execution of a program.<br />

Syntax RUN[]<br />

Chapter 2 Program Instructions<br />

optionally specifies an existing program to be run.<br />

optionally specifies the number of a line in the current<br />

program where the execution will start.<br />

Remarks The RUN statement starts the execution of the program currently residing in<br />

the printer's working memory, or optionally of a specified program residing<br />

elsewhere. The execution will begin at the line with the lowest number, or<br />

optionally from a specified line in the current program.<br />

If a program stored in another directory than the current one (see CHDIR<br />

statement), and has not been LOADed, its designation must be preceded by<br />

a reference to that device ("c:", "tmp:", "rom:", or "card1:", see the last<br />

example).<br />

Never use RUN on a numbered line or in a line without number in the<br />

Programming Mode, or an error will occur (Error 40 “Run statement in<br />

program”).<br />

A RUN statement executed in the <strong>Intermec</strong> Direct Protocol will make the<br />

printer switch to the Immediate Mode, i.e. it has the same effect as an INPUT<br />

OFF statement.<br />

Examples Order the execution of a program this way:<br />

RUN<br />

Executes the current program from its first line.<br />

RUN 40<br />

Executes the current program, starting from line 40.<br />

RUN "TEST"<br />

Executes the program “TEST.PRG” from its first line.<br />

RUN "TEST.PRG"<br />

Executes the program “TEST.PRG” from its first line.<br />

RUN "rom:FILELIST.PRG"<br />

Executes the program “FILELIST.PRG”, which is stored in a read-only<br />

memory card, from its first line.<br />

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

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

Saved successfully!

Ooh no, something went wrong!