Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7110
Chapter 2 Program Instructions
GETASSOCNAME$
Field of Application
 Function for traversing the tuples of a string association.
Syntax GETASSOCNAME$(<sexp>,<nexp>)
<sexp>  is the association to be traversed (case-sensitive).
<nexp> specifi es the tuple in the association.
 <nvar> = 0 specifi es fi rst tuple.
 <nvar> ≠ 0 specifi es next tuple.
Remarks
 An association is an array of tuples, where each tuple consists of a name 
and a value. To get the fi rst position in the string association, <nvar> should 
be zero. Consecutive calls to GETASSOCNAME$ witn <nvar> non zero 
will traverse all variables in an undefi ned order. When a blank string ("") is 
returned, the last variable has been traversed.
Example
 This  example  shows  how  “QARRAY" is travered (run example from 
GETASSOC fi rst):
  10 LVAL$=GETASSOCNAME$("QARRAY",0)
  20 WHILE LVAL$<>""
  30 RVAL$=GETASSOC$("QARRAY",LVAL$)
  40 PRINT LVAL$;"=";RVAL$
  50 LVAL$=GETASSOCNAME$("QARRAY",1)
  60 WEND
  RUN
  yields:
  label=321
  desc=DEF
  time=153355










