•
Errors
are
reported by SuperBASIC
in
a standard
form:
At
line
Ime_number
error_text
Where
the
line number
is
the
number
of
the
line where
the
error
was
detected and
the
error
text
IS
listed
below.
error
handling
(17)
(16)
(15)
(13)
(1)
Not complete
An
uperatlon has been prematurely terminated
(or
break
has
been pressed).
(2)
Invalid job
An
error return from Odos relating
to
system
calls controlling multitasking or I/O
(3)
Out of memory
Odos
and/or SuperBASIC
has
Insufficient
free
memory.
(4)
Out of range
Usually
results
from
attempts
to
write outside a window or
an
incorrect array
index.
(5) Buffer full
An
I/O
operation
to
fetch
a buffer
full
of
characters filled the buffer before a record
terminator
was
found.
(6) Channel not open
Attempt
to
read,
write
or
close a channel which has not been opened.
Can also occur
If
an
attempt
to
open a channel
fails.
(7)
Not found
File
system,
device, medium or
file
cannot
be
found.
SuperBASIC cannot find
an
Identifier This can
result
from
Incorrectly nested
structures.
(8)
Already exists
The
file
system
has found
an
already existing
file
with
the same name
as
a new
file
to be opened
for
writing.
(9)
In
use
The file
system
has found that a
file
or device
IS
already exclusively used.
(10)
End of file
End of
file
detecfed during input.
(11)
Drive full
A device has been filled (usually Microdrive).
(12)
Bad name
The file
system
has recognised the name but there
is
a syntax or parameter value
error
In
SuperBASIC
it
means a name
has
been used out
of
context.
For
example,
a
variable has been used
as
a procedure.
Xmit error
RS-232-C
parity error
Format failed
Attempted format operation has failed,
the
medium
is
possibly faulty (usually a
Microdrive cartridge).
Bad parameter
There
is
an
error
in
the parameter
list
of
a
system
or Super
BASIC
procedure or
function
call.
An
attempt
was
made
to
read
data from a write only
deVice.
Bad or changed medium
The medium (usually a Microdrive cartridge)
is
possibly
faulty.
Error in expression
An
error
was
detected while evaluating
an
expression.
(14)
•
•
(18)
(19)
Overflow
Arithmetic
overflow,
division by
zero,
square root
of
a negative number
etc,
Not Implemented
12184
19