User`s guide
148
CipherLab BASIC Compiler
User's Guide
ELSE IF KeyData$ = “Y” THEN
EMPTY_TRANSACTION
END IF
See Also
DEL_TRANSACTION_DATA, EMPTY_TRANSACTION_EX
EMPTY_TRANSACTION_EX
Purpose
To remove all the transaction data from a specified transaction file.
Syntax
EMPTY_TRANSACTION_EX(file%)
Remarks
"file%" is an integer variable in the range of 1 to 6, indicating which transaction file
the command is to affect. The command EMPTY_TRANSACTION_EX(1) works
the same as the command EMPTY_TRANSACTION.
Example
EMPTY_TRANSACTION_EX(6)
See Also
DEL_TRANSACTION_DATA_EX, EMPTY_TRANSACTION
GET_TRANSACTION_DATA$
Purpose
To read a transaction record from the 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)
WEND
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.