Metrologic IS1000 Series Betriebsanweisung Seite 159

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 198
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 158
Chapter
5
BASIC
Commands
153
Data records are not manipulated directly from the DBF file but rather through its
associated IDX files. The value of file pointers of the IDX files (index pointers) does not
represent the address of the data records stored in the DBF file. It indicates the sequence
number of a specific data record in the IDX file.
ADD_RECORD
Purpose
To add a record to a specified DBF file.
Syntax
ADD_RECORD(file%, data$)
Remarks
"file%" is an integer variable in the range of 1 to 5, indicating which DBF file to be
accessed.
"data$" is a string variable, representing the character string which the user intends
to add to the specified DBF file.
Example
ON COM(1) GOSUB HostCommand
...
HostCommand:
Cmd$ = READ_COM$(1)
CmdIdentifier$ = LEFT$(Cmd$, 1)
DBFNum% = VAL(MID$(Cmd$, 2, 1))
CardID$ = RIGHT$(Cmd$, LEN(Cmd$)-2)
IF CmdIdentifier$ = "+" THEN
ADD_RECORD(DBFNum%, CardID$)
ELSE
...
See Also
DEL_RECORD
DEL_RECORD
Purpose
To delete the record pointed by the file pointer in a specified DBF file.
Syntax
DEL_RECORD(file% [,index%])
Remarks
"file%" is an integer variable in the range of 1 to 5, indicating which DBF file to be
accessed.
"index%" is an integer variable in the range of 1 to 3, indicating which IDX file to
be accessed. If it is not specified, then the default IDX file which keeps the original
data sequence will be used.
Seitenansicht 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 197 198

Kommentare zu diesen Handbüchern

Keine Kommentare