227
There are some commands reserved for the host computer to read/remove data of the
transaction file, or to adjust the system time. User's BASIC program does not need to do
any processing because these tasks will be processed by the background routines of the
BASIC run-time.
Note: (1) Each reserved command is ended with a carriage return, which can be
changed by COM_DELIMITER. If any format error occurs, the mobile computer
would return “NAK”.
(2) For 8200/8400/8700, the transaction file can be stored in SRAM or SD card.
CLEAR
Purpose To erase data of a specified transaction file.
Syntax A$ = CLEAR
A$ = CLEAR file%
Remarks
The command CLEAR will clear data of the first transaction file, which is the
default one.
“A$” is a string variable to be assigned to the result.
OK
NAK
The command is processed successfully.
Any format error occurs.
“file%
” is an integer variable in the range of 1 to 6, indicating which transaction
file is to be erased.
Example
CLEAR3
' to delete data of the 3rd transaction file