Argox PA-20 Basic Programming Manual Manuale Utente Pagina 86

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 85
PT-Basic Programming Manual Ver. 1.00 85/143
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.
DBMS_DEL_DATA
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.
DBMS_EMPTY
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.
DBMS_FIND_RECORD
Purpose
To search the designated field.
Syntax
A%=DBMS_FIND_RECORD(DBMSID% , field% , key$)
Example
A% = DBMS_FIND_RECORD(1, 2, " TEST3")
PRINT A%
Description
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Search defeat.
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 forward search.
DBMS_FIND_RECORD_B
Purpose
To search the designated field.
Syntax
A%=DBMS_FIND_RECORD_B(DBMSID% , field% , key$)
Example
A% = DBMS_FIND_RECORD_B(1, 2, " TEST3")
PRINT A%
Description
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Search defeat.
Vedere la pagina 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 142 143

Commenti su questo manuale

Nessun commento