Error Processing - Epson TF-20 Reference Manual

Hx-20 disk basic
Hide thumbs Also See for TF-20:
Table of Contents

Advertisement

The format of the file descriptor is the same as in ROM BASIC. If the
device name is omitted, drive A will be assumed. Copying can be
performed from any disk drive to any disk drive the user chooses. If
only the drive name is specified after "To:", the source file will be
copied in the new disk with the same filename. If a filename is
specified, the source file will be copied to the disk with the specified
name.
key in place of the file descriptor, the
If you press only the _____
program will return to the display shown in Screen 5.
When you have finished inputting the filename, the computer will ask
for confirmation. At this point, if you wish to execute the copying
operation, press the
RETURN
CTRL + C to return to Screen 5 and input the correct filename.
If you press the
RETURN
key, file copying will begin.
When copying is finished, the following message will be displayed and
the program will return to Screen 5.
Finished!
Screen 6
key. If you wish to cancel, press

4.7 Error Processing

(1) Error during OPEN
Remove the cause of the error and then execute another OPEN
statement.
(2) Error during output
If an error such as DU, "Disk write protected", "Disk read" or "Disk
write" occurs when using a PUT or PRINT# statement, close all open
files immediately. If you continue to output, the contents of the files
are not protected against possible loss.
(3) Error during input
If an error such as DU or "Disk read" occurs when executing a GET or
INPUT# statement, close all open files immediately. Again, the
contents of the files cannot be guaranteed if\you continue to input.
(4) "Disk write protected"
The only processing for this error is to execute a RESET command.
However, a RESET command will destroy all of the contents of any file
so unfortunate as to be open at the time of execution. Therefore,
before executing a RESET command, continue to execute parameter-
less CLOSE statements (i.e., CLOSE statements that do not specify a
particular file but close all the files on the disk) until the error message
is no longer displayed.
(5) DU
This error occurs when an attempt is made to access a drive which
does not contain a disk. The TF-20 containing that drive will continue to
output this error until a disk is inserted in the drive.
NOTE:
There may be instances when a READ error occurs during execution of
a PUT statement. This is because the previous GET statement has not
been correctly executed. Similarly, a WRITE error may occur during
execution of a GET statement because of incorrect execution of the
previous PUT statement.

Advertisement

Table of Contents
loading

Table of Contents