153
GET_TRANSACTION_DATA$
Purpose To read a transaction record from the first (= default) transaction file.
Syntax A$ = GET_TRANSACTION_DATA$(N%)
Remarks “A$” is a string variable to be assigned to the transaction data.
“N%
” is an integer variable, indicating the ordinal number of the record to be
read from the first transaction file.
Example
…
WHILE (TRANSACTION_COUNT > 0)
TransactionData$ = GET_TRANSACTION_DATA$(1)
WRITE_COM(1, TransactionData$)
DEL_TRANSACTION_DATA(1)
See Also GET_TRANSACTION_DATA_EX$, SAVE_TRANSACTION, UPDATE_TRANSACTION
GET_TRANSACTION_DATA_EX$
Purpose To read a transaction record from a specified transaction file.
Syntax A$ = GET_TRANSACTION_DATA_EX$(file%, N%)
Remarks “A$” is a string variable to be assigned to the transaction data.
“file%” is an integer variable in the range of 1 to 6, indicating w
file to access. These commands work the same –
GET_TRANSACTION_DATA_EX$(1,1)
GET_TRANSACTION_DATA$(1)
“N%
” is an integer variable, indicating the ordinal number of the record to be
read from the first transaction file.
Example
…
WHILE (TRANSACTION_COUNT > 0)
TransactionData$ = GET_TRANSACTION_DATA_EX$(TransFile%, 1)
WRITE_COM(1, TransactionData$)
DEL_TRANSACTION_DATA_EX(TransFile%, 1)
See Also
GET_TRANSACTION_DATA$, SAVE_TRANSACTION_EX,
UPDATE_TRANSACTION_EX