CipherLab 8 Series User Manual page 176

Hide thumbs Also See for 8 Series:
Table of Contents

Advertisement

CipherLab BASIC Programming
UPDATE_RECORD
Purpose
To update the record, which the file pointer of a specified DBF and IDX files is
pointing to.
Syntax
UPDATE_RECORD(file%, index%, data$)
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, the default IDX file which keeps the
original data sequence will be used.
"data$" is a string variable, representing the character string to replace the old
data.
Example
HostCommand:
164
Part I
ON COM(1) GOSUB HostCommand
...
Cmd$ = READ_COM$(1)
CmdIdentifier$ = LEFT$(Cmd$, 1)
DBFNum% = VAL(MID$(Cmd$, 2, 1))
IDXNum% = VAL(MID$(Cmd$, 3, 1))
CardID$ = RIGHT$(Cmd$, LEN(Cmd$)-3)
IF CmdIdentifier$ = "&" THEN
UPDATE_RECORD(DBFNum%, IDXNum%, CardID$)
ELSE
...

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

83008000840087008200

Table of Contents