Argox PA-20 Basic Programming Manual User Manual
Page 85

PT-Basic Programming Manual Ver. 1.00
84/143
please check your lookup
filename or C disk size.
Several key arguments as below:
FilePath$
DBMS file path
DBMSID%
DBMS ID (1~10)
S1$
This argument has two kinds of meanings.
When search for regular length, it needs to
insert the unsigned char array; the array
represents the length of every field.
When search for variable length, it needs
to insert one character to represent separate
symbol.
S2$
This argument can give max. 8 key fields for
search. We will make a checksum index file for
these key fields.
N1%
This argument can give the sum of key fields
size.
N2%
When N1%=0, search for regular length. It
has no separate symbols between different
fields.
When N1%=1, search for variable length.
It needs a separate symbol between
different fields.
N3%
This argument is each record‟s length.
When N1%=0, needs to insert this value,
not including the symbol of line feed.
When N1%=1, this field can insert any
value.
N4%
This argument is the field‟s quantity of each
record (1~20).
Purpose: To close the file search in disk.
Syntax: DBMS_CLOSE_SEARCH(DBMSID%)
Example: DBMS_CLOSE_SEARCH(1)
Description: DBMSID% is an integer variable in the range from 1 to 10.
Purpose: To increase one record on the file end.
Syntax: DBMS_APPEND_DATA(DBMSID%,data$)