
PT-20 Programming Guide
unsigned char *pusFielddlt
This argument has two kinds of meanings.
When record _ Type is 0, search for regular
length. This function needs to insert the
unsigned char array; the array represents
the length of every field.
When record _ Type is1, search for
variable length, this function need to insert
one character to represent separate
symbol.
This argument can give max. 8 key fields
for search. We will make a checksum index
file for these key fields.
This argument can give the sum of
pusKeyIdx size, for sum of key fields.
When record _ Type is 0, search for regular
length. It has no separate symbols among
field and field.
When record _ Type is 1, search for
variable length. It needs a separate symbol
among field and field.
This argument is each record’s length.
When record _ Type is 0, need to insert this
value, not including the symbol of line feed.
When record _ Type is 1, this field can
insert any value.
This argument is the field’s quantity of each
record.
Total amount of records in the file. If does
not know the total amount, you can insert -
1, that will calculate automatically by the
system.
0: Initialize defeat.
1: Initialize success.
-1: Argument “pusKeyIdx” or “slKeyField_Num” is error, please check it.
-2: Cannot make a IDX file, please check your lookup filename or C disk
size.
Use “Close _ Search” can close the file search function in Disk C and D.
Kommentare zu diesen Handbüchern