Argox PA-20 Basic Programming Manual Bedienungsanleitung Seite 86

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 143
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 142 143

Kommentare zu diesen Handbüchern

Keine Kommentare