User`s guide

Chapter
5
BASIC
Commands
149
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 which transaction file
to access. The command GET_TRANSACTION_DATA_EX$(1,1) works the
same as the command 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)
WEND
See Also
GET_TRANSACTION_DATA$, SAVE_TRANSACTION_EX
UPDATE_TRANSACTION_EX
SAVE_TRANSACTION
Purpose
To save (append) a transaction record to the default transaction file.
Syntax
SAVE_TRANSACTION(data$)
Remarks
"data$" is a string variable, representing the string to be saved in the first (default)
transaction file.
Example
ON READER(1) GOSUB BcrData_1
...
BcrData_1:
Data$ = GET_READER_DATA$(1)
PRINT Data$
SAVE_TRANSACTION(Data$)
IF GET_FILE_ERROR <> 0 THEN PRINT "Transaction not saved."
RETURN
See Also
GET_TRANSACTION_DATA$, SAVE_TRANSACTION_EX,
UPDATE_TRANSACTION