Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  81
Chapter 2 Program Instructions
EXECUTE
Field of Application
 Statement for executing a  Fingerprint  program line or  a fi le  with 
Fingerprint program lines from within another Fingerprint program.
Syntax EXECUTE<sexp>
<sexp> is one line of Fingerprint instructions or the name of a fi le 
containing at least one line of a Fingerprint program.
Remarks
 This  statement  allows  you  to  create  a  library  of  layouts,  subroutines, 
texts, etc, which can be executed as a part of a program without having 
to merge the programs.
 The  program called  by  EXECUTE  must  not contain  any line  numbers 
or line labels.
 If the EXECUTE statement is followed by a string of Fingerprint instructions, 
they should be separated by colons. 
 When an error occurs in an EXECUTE fi le, the line number in the error 
message is that of the EXECUTE fi le, not of the program where the 
EXECUTE statement is issued.
 EXECUTE  is  only  allowed  in  the  execute  mode,  not  in  the  immediate 
mode (yields Error 69).
  Recursive call of EXECUTE is not allowed (yields Error 78).
Example
 This example shows how  a preprogrammed  fi le containing a bar code 
is executed as a part of a Fingerprint program, where the input data 
and printfeed are added:
  IMMEDIATE OFF
  DIR 1
  ALIGN 7
  BARSET "CODE39",2,1,3,120
  BARFONT "Swiss 721 BT",10,8,5,1,1
  BARFONT ON
  IMMEDIATE ON
  SAVE "BARCODE.PRG",L
  NEW
  10   PRPOS 30,400
  20   EXECUTE "BARCODE.PRG"
  30   PRBAR "ABC"
  40   PRINTFEED
  RUN










