CipherLab BASIC Programming
DEL_TRANSACTION_DATA
Purpose
To remove a block of transaction data from the first (= default) transaction file.
Syntax
DEL_TRANSACTION_DATA(N%)
Remarks
"N%" is an integer variable, determining how many transaction records to be
deleted and how to delete.
Example
Loop:
See Also
DEL_TRANSACTION_DATA_EX, EMPTY_TRANSACTION
150
Part I
If "N%" is a positive integer, the specified number of records will be
deleted from the top of the transaction file 1. That is, the oldest records will
be deleted.
If "N%" is a negative integer, the specified number of records will be
deleted from the bottom of the transaction file 1. That is, the latest records
will be deleted.
...
PRINT "Discard the latest transaction? (Y/N)"
...
KeyData$ = INKEY$
IF KeyData$ = "" THEN
GOTO Loop
ELSE IF KeyData$ = "Y" THEN
DEL_TRANSACTION_DATA(-1)
END IF
...
Need help?
Do you have a question about the 8 Series and is the answer not in the manual?
Questions and answers