Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  111
Chapter 2 Program Instructions
GETPFSVAR
Field of Application
 Function for recovering saved variables.
Syntax GETPFSVAR(<sexp>[,D])
<sexp> is the name of the variable (uppercase characters only).
D optionally  specifies  that  the  variable  is  to  be  deleted 
after recovery.
Remarks
 This function is used to recover variables registered to be saved at power 
failure by means of a SETPFSVAR statement and returns either -1 on 
success or 0 at failure.
 If a D fl ag is included, the variable is deleted after it has been recovered. 
This can be used to make sure that the variable is up to date and that no 
old obsolete value is recovered.
 Related  instructions  are  SETPFSVAR,  DELETEPFSVAR,  and  LIST-
PFSVAR.
Example
  10   IF NOT GETPFSVAR("QS$") THEN QS$ ="<this is 
  the default vaule, set a new one>"
  20   IF NOT GETPFSVAR("QCPS%") THEN PRINT "No 
  copies available":END
  30   QSTATUS%=GETPFSVAR("AWE$",D):IF QSTATUS% 
  THEN PRINT "Recovered successfully!"
  40   SETPFSVAR "QCPS%"
  50   ’Build label
  60   .....
  99   PRINTFEED; QCPS%=QCPS%
  100   ..... 










