Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  85
Chapter 2 Program Instructions
FILENAME$ 
Field of Application
 Function returning the names of the fi les stored in the specifi ed part 
of the printer’s memory.
Syntax FILENAME$[(<sexp>)]
<sexp> is  the  name of  the memory device from  which  the fi rst 
fi le name (in alphabetical order) will be listed. Parts of 
fi le names and wildcards (*) are allowed. Maximum size 
is 30 characters.
 If <sexp> is omitted, the next fi le name in the same memory 
device is listed. Can be repeated. When there are no fi les left 
to list, the output string will be empty.
Remarks
 The  specifi ed memory device must be mounted. The fi le  name  must 
correspond to the name of the fi le stored in the memory device in regard of 
upper- and lowercase characters. Wildcards (* = ASCII 42 dec.) can be used. 
The list may include all type of fi les. Even system fi les, that are preceded by 
a period character (for example .FONTALIAS), may be listed. No device 
names are included in the listed fi le names. 
Example
 This  example shows  how  all  fi les in "rom:" with the extension .PRG 
are listed:
  10   FNAME$ = FILENAME$("rom:*.PRG")
  20   WHILE FNAME$<> ""
  30   PRINT FNAME$
  40   FNAME$ = FILENAME$
  50   WEND
  RUN                
  yields for example:
  ERRHAND.PRG 
  FILELIST.PRG
  LBLSHTXT.PRG
  LINE_AXP.PRG
  LSS-SENSOR.PRG
  MKAUTO.PRG
  SHELLXP.PRG
  WINXP.PRG










