Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  165
Chapter 2 Program Instructions
MERGE
Field of Application
 Statement for merging a program in the printer’s current directory, or 
optionally in another specifi ed directory, with the program currently 
residing in the printer’s working memory.
Syntax MERGE<scon>
<scon> is  the  name (optionally  including a  reference  to another 
directory than the current one) of the program, which is 
to be merged with the program currently residing in the 
printer’s working memory.
Remarks
 MERGE  creates  a  copy  of  a  program  stored  in  the  current  directory 
(see CHDIR statement), or optionally in a specifi ed other directory, 
and blends its lines into the program currently residing in the printer’s 
working memory.
 Important:
 If there are lines with the same numbers in both programs, the lines in the 
program currently residing in the working memory will be replaced by the 
corresponding lines in the MERGEd program. This also applies to programs 
written without line numbers, since they will automatically be assigned 
hidden line numbers (10-20-30... etc.) at the execution of the IMMEDIATE 
ON statement. In order to avoid overwriting any lines, you may SAVE a 
program without line numbers using a SAVE <scon>, L statement. When 
MERGEd, it will be appended to the current program and assigned line 
numbers that start with the number of the last line of the current program plus 
10. For safety reasons, a backup copy of the current program is recommended 
before issuing a MERGE statement.
 MERGE makes it possible to store blocks of program instructions, which 
are frequently used, and include them into new programs. The printer’s 
ROM memory contains a number of useful programs, which also can be 
MERGEd into programs of your own creation. 
 Be careful not to include any MERGE statement as a part of a program, 
or else the execution will stop after the MERGE statement has been 
executed.
 The  EXECUTE  statement  offers an  alternative  method  for  combining 
Fingerprint programs.
Examples
 The program “XYZ.PRG" will be merged with the current program. If there 
are identical line numbers in both programs, the lines from “XYZ.PRG"will 
replace those in the current program. 
  MERGE "XYZ.PRG"  (from current directory)
  MERGE "c:XYZ.PRG"  (from permanent memory)
  MERGE "tmp:XYZ.PRG"  (from temporary memory)
  MERGE "rom:XYZ.PRG"  (from read-only memory card) 
  MERGE "card1:XYZ.PRG"  (from DOS-formatted memory card)










