Argox PA-20 Basic Programming Manual Manual de usuario Pagina 87

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 143
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 86
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.
DBMS_GET_COUNT
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.
DBMS_GET_DATA$
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.
DBMS_UPDATE_DATA
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.
Vista de pagina 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 142 143

Comentarios a estos manuales

Sin comentarios