Argox PA-20 Basic Programming Manual User Manual
Page 87

PT-Basic Programming Manual Ver. 1.00
86/143
Other value Match the record position of data
Several key arguments as below:
DBMSID% DBMS ID (1~10)
field%
Search wanted field.
key $
Match wanted string data.
※This command only supports backward search.
Purpose: To obtain the figure of all records in the file.
Syntax: A%=DBMS_GET_COUNT(DBMSID%)
Example: A% = DBMS_GET_COUNT(1)
PRINT A%
Description: A% is an integer variable to be assigned to the result.
DBMSID% is an integer variable in the range from 1 to 10.
Purpose: To read the data of appointed field in the appointed record.
Syntax: A$=DBMS_GET_DATA$(DBMSID%, record%, field%)
Example: A$ = DBMS_GET_DATA$(1, 3, 3)
PRINT A$
Description: A$ is a string variable to be assigned to the result.
Several key arguments as below:
DBMSID% DBMS ID (1~10)
record %
Read record position.
field %
Read field position.
Purpose: To revise the data of appoint field in appointed field record.
Syntax: DBMS_UPDATE_DATA(DBMSID%, record%, field%, key$)
Example: DBMS_UPDATE_DATA(1, 3, 3, "SONG")
Description: Several key arguments as below:
DBMSID% DBMS ID (1~10)
record %
Read record position.
field %
Read field position.
key$
Update string data wanted.