Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 782
Chapter 2 Program Instructions
FIELD
Field of Application
 Statement  for  creating  a  single-record  buffer  for  a  random  file 
and dividing the buffer into fi elds to which string variables are 
assigned.
Syntax FIELD[#]<nexp
1
>,<nexp
2
>AS<svar
1
>[,<nexp
3
>AS<svar
2
>...]
# indicates that whatever follows is a number. Optional.
<nexp
1
>  is the number assigned to the fi le when it was OPENed.
<nexp
2-n
> is the number of bytes to be reserved for the string variable 
that follows. (Null not allowed.) 
<svar
1-n
> is  the  designation of  the  string  variable, for which  space 
has been reserved. 
Remarks
 The buffer is divided into fi elds, each of which is given an individual length 
in bytes. A string variable is assigned to each fi eld. This statement does not 
put any data in the buffer, it only creates and formats the buffer, allowing you 
to place the data using LSET and RSET statements.
 Before using this statement, consider the maximum number of characters 
(incl. space characters) needed for each variable and check that the 
total does not exceed the record size given when the fi le was OPENed 
(by default 128 bytes).
 When a fi le is CLOSEd, all its FIELD defi nitions will be lost. 
Example
 This example  opens and formats a fi le buffer for a single record. The 
buffer is divided into three fi elds, with the size of 25, 30, and 20 bytes 
respectively.
  10   OPEN "ADDRESSES" AS #8 LEN=75
  20   FIELD#8,25 AS F1$, 30 AS F2$, 20 AS F3$
 (Imagine a spreadsheet matrix where the fi le is the complete spreadsheet, 
the records are the lines and the fi elds are the columns. The buffer can only 
contain one such line at the time.)










