User`s guide
Chapter
5
BASIC
Commands
151
TRANSACTION_COUNT_EX
Purpose
To get the total number of transaction records saved in a specified transaction file.
Syntax
A% = TRANSACTION_COUNT_EX(file%)
Remarks
"A%" is an integer variable to be assigned to the result.
"file%" is an integer variable in the range of 1 to 6, indicating which transaction file
to access. The command TRANSACTION_COUNT_EX(1) works the same as the
command TRANSACTION_COUNT.
Example
...
DataCount_1:
DataCount% = TRANSACTION_COUNT_EX(1)
CLS
PRINT DataCount%, "Data in transaction file 1."
RETURN
...
See Also
TRANSACTION_COUNT
UPDATE_TRANSACTION
Purpose
To update a transaction record in the first (default) transaction file.
Syntax
UPDATE_TRANSACTION(N%, data$)
Remarks
"N%" is an integer variable, indicating the ordinal number of the transaction record
to be updated.
"data$" is a string variable, representing the character string to replace the old data.
Example
...
UpdateTransaction:
UPDATE_TRANSACTION(Num%, NewData$)
RETURN
...
See Also
GET_TRANSACTION_DATA$, SAVE_TRANSACTION,
UPDATE_TRANSACTION_EX
UPDATE_TRANSACTION_EX
Purpose
To update a transaction record in a specified transaction file.