Chapter
12
I
Error Messages
~~
Number
61
62
63
64
66
67
68
Message
Disk full
All disk storage space
is
in use.
Input past end
BASIC executed an INPUT statement after all the
data in the file had been read, or BASIC executed
an INPUT statement to a null (empty) file.
To
avoid
this error, use the EOF function to detect the end-
of-file.
Bad record number
In
a
GET or PUT statement. the record number
is
either greater than the max
(16,777,215) or equal to zero.
Bad file name
An illegal pathname was used
SAVE, KILL, or OPEN statement
mum allowed
with a LOAD,
(for example,
a
filename with too many characters).
Direct statement in file
Information in a non-ASCII format was encountered
while LOADing an ASCII-format file. The LOAD is
terminated.
Too
many files
The diskette already contains the maximum num-
ber of files allowed. This usually occurs on SAVE or
OPEN. An attempt was made
to
create a new file
(using SAVE or OPEN) when all directory entries
are full.
Device Unavailable
An attempt was made to open a file to a non-
existent device.
It
may be that hardware does not
exist to support the device, such as LPT2: or LPT3:,
or that the device is disabled. This occurs if an
OPEN
“COM1:
...
statement
is
executed but the user
disabled RS232 support via the /C:0 switch direc-
tive on the command line.
371