02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

MERGE<br />

Chapter —Program Instructions<br />

Purpose Statement for merging a program in the printer’s current directory, or<br />

optionally in another specified directory, with the program currently residing<br />

in the printer’s working memory.<br />

Syntax MERGE<br />

is the name (optionally including a reference to another directory<br />

than the current one) of the program, which is to be merged with<br />

the program currently residing in the printer’s working memory.<br />

Remarks MERGE creates a copy of a program stored in the current directory (see<br />

CHDIR statement), or optionally in a specified other directory, and<br />

blends its lines into the program currently residing in the printer’s working<br />

memory.<br />

If there are lines with the same numbers in both programs, the lines in<br />

the program currently residing in the working memory will be replaced<br />

by the corresponding lines in the MERGEd program. This also applies<br />

to programs written without line numbers, since they will automatically<br />

be assigned hidden line numbers (10-20-30... etc.) at the execution<br />

of the IMMEDIATE ON statement. In order to avoid overwriting<br />

any lines, you may SAVE a program without line numbers using a<br />

SAVE , L statement. When MERGEd, it will be appended to the<br />

current program and assigned line numbers that start with the number<br />

of the last line of the current program plus 10. For safety reasons, a<br />

backup copy of the current program is recommended before issuing a<br />

MERGE statement.<br />

MERGE makes it possible to store blocks of program instructions, which<br />

are frequently used, and include them into new programs. The printer’s<br />

ROM memory contains a number of useful programs, which also can be<br />

MERGEd into programs of your own creation.<br />

Be careful not to include any MERGE statement as a part of a program,<br />

or else the execution will stop after the MERGE statement has<br />

been executed.<br />

The EXECUTE statement offers an alternative method for combining<br />

Fingerprint programs.<br />

Examples The program “XYZ.PRG" will be merged with the current program. If<br />

there are identical line numbers in both programs, the lines from “XYZ.<br />

PRG"will replace those in the current program.<br />

MERGE "XYZ.PRG" (from current directory)<br />

MERGE "/c/XYZ.PRG" (from permanent memory)<br />

MERGE "tmp:XYZ.PRG" (from temporary memory)<br />

MERGE "card1:XYZ.PRG" (from memory card)<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 1 7

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

Saved successfully!

Ooh no, something went wrong!