PI1X Basic Programming Manual Ver. 1.10
84/156
Needs to insert this value, not including the
symbol of line feed.
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$)
Example
:
data$ = "Happy, TEST, DBMS"
DBMS_APPEND_DATA(1,data$)
Description
:
DBMSID%
is an integer variable in the range from 1 to 10.
data$
is a string variable indicating the data of record introduced.
Purpose
:
To delete the appointed record in the file.
Syntax
:
DBMS_DEL_DATA(DBMSID%,record%)
Example
:
DBMS_DEL_DATA(1,2)
Description
:
DBMSID%
is an integer variable in the range from 1 to 10.
Record%
is an integer variable indicating the appointed record to
be deleted.
Purpose
:
To remove all records in the file.
Syntax
:
DBMS_EMPTY(DBMSID%)
Example
:
DBMS_EMPTY(1)
Description
:
DBMSID%
is an integer variable in the range from 1 to 10.
Purpose
:
To search the designated field.
Syntax
:
A%=DBMS_FIND_RECORD(DBMSID% , field% , key$)
Example
:
A% = DBMS_FIND_RECORD(1, 2, " TEST3")
PRINT A%