CipherLab 8 Series User Manual page 166

Hide thumbs Also See for 8 Series:
Table of Contents

Advertisement

CipherLab BASIC Programming
SAVE_TRANSACTION
Purpose
To save (append) a transaction record to the first (= 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
BcrData_1:
See Also
GET_TRANSACTION_DATA$, SAVE_TRANSACTION_EX, UPDATE_TRANSACTION
SAVE_TRANSACTION_EX
Purpose
To save (append) a transaction record to a specified transaction file.
Syntax
SAVE_TRANSACTION_EX(file%, data$)
Remarks
"file%" is an integer variable in the range of 1 to 6, indicating which transaction
file to access. These commands work the same –
"data$" is a string variable, representing the string to be saved in the specified
transaction file.
Example
BcrData_1:
See Also
GET_TRANSACTION_DATA_EX$,
UPDATE_TRANSACTION_EX
154
Part I
ON READER(1) GOSUB BcrData_1
...
Data$ = GET_READER_DATA$(1)
PRINT Data$
SAVE_TRANSACTION(Data$)
IF GET_FILE_ERROR <> 0 THEN PRINT "Transaction not saved."
RETURN
SAVE_TRANSACTION_EX(1,data$)
SAVE_TRANSACTION(data$)
ON READER(1) GOSUB BcrData_1
...
BEEP(2000, 5)
Data$ = GET_READER_DATA$(1)
PRINT Data$
SAVE_TRANSACTION_EX(TransFile%, Data$)
IF GET_FILE_ERROR <> 0 THEN PRINT "Transaction not saved."
RETURN
SAVE_TRANSACTION,

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 8 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

83008000840087008200

Table of Contents