Contents, cont'd. - Intermec
Contents, cont'd. - Intermec
Contents, cont'd. - Intermec
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
MERGE<br />
Chapter 2 Program Instructions<br />
Field of Application Statement for merging a program in the printer's current directory, or<br />
optionally in another specified directory, with the program currently<br />
residing in the printer's working memory.<br />
Syntax MERGE<br />
is the name (optionally incl. a reference to another directory<br />
than the current one) of the program, which is to be merged<br />
with the program currently residing in the printer's working<br />
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 blends its<br />
lines into the program currently residing in the printer's working memory.<br />
Important:<br />
If there are lines with the same numbers in both programs, the lines in the<br />
program currently residing in the working memory will be replaced by the<br />
corresponding lines in the MERGEd program. This also applies to programs<br />
written without line numbers, since they will automatically be assigned<br />
hidden line numbers (10–20–30... etc.) at the execution of the IMMEDIATE<br />
ON statement. In order to avoid overwriting any lines, you may SAVE a<br />
program without line numbers, i.e. by a SAVE , L statement. When<br />
MERGEd, it will be appended to the current program and assigned line<br />
numbers that start with the number of the last line of the current program plus<br />
10. For safety reasons, a backup copy of the current program is recommended<br />
before issuing a MERGE statement.<br />
MERGE makes it possible to store blocks of program instructions, which are<br />
frequently used, and include them into new programs. The printer's ROM<br />
memory contains a number of useful programs, which also can be MERGEd<br />
into programs of your own creation.<br />
Be careful not to include any MERGE statement as a part of a program, or<br />
else the execution will stop after the MERGE statement has been executed.<br />
Examples The program “XYZ.PRG" will be merged with the current program. If there<br />
are identical line numbers in both programs, the lines from “XYZ.PRG”will<br />
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 "rom:XYZ.PRG" (from read-only memory card)<br />
MERGE "card1:XYZ.PRG" (from DOS-formatted memory card)<br />
<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 146