
131
Appendix F
Troubleshooting
Error Message Format
When an error occurs during BASIC program execution, the error messages shown in the following tables are
output to the screen of the terminal. If a device other than a terminal is connected to port 1, the program stops, and
the messages are reserved until the terminal is attached and CTRL+X is keyed in.
Example of a displayed message:
SYNTAX ERROR IN xxxx
xxxx is displayed when a command is executed with a number specified.
Error Message
Error
Code
Explanation
BAD DATA IN PORT ERROR
58
Format of data read from port is wrong.
BAD I/O MODE ERROR
51
Wrong port or peripheral device has been specified.
BAD PORT DESCRIPTOR ERROR
55
Descriptor is incorrect.
BAD PORT NUMBER ERROR
50
Port number is incorrect.
BAD SUBSCRIPT ERROR
9
Subscript outside predetermined range is used.
Assign subscript of maximum value with the DIM command.
CAN’T CONTINUE ERROR
17
Program execution cannot be resumed. Execute program with
RUN command.
DEVICE I/O ERROR
53
Error has occurred during communication with a peripheral
device.
DEVICE UNAVAILABLE ERROR
60
Wrong device name has been specified.
DIVISION BY ZERO ERROR
11
Attempt is made to divide data by 0.
DIRECT STATEMENT IN PORT ERROR
56
Unnumbered line has been read while program is being loaded.
DUPLICATE DEFINITION ERROR
10
Array, or user function, is defined in duplicate.
FORMAT ERROR
67
Incorrect format or memory area designator, number of words to
be transferred or base address has not been specified.
FOR WITHOUT NEXT ERROR
23
FOR and NEXT statements are not correctly used in pairs.
ILLEGAL DIRECT ERROR
12
Attempt is made to execute statements that cannot be executed
in direct mode. INPUT and LINE INPUT can be executed in
BASIC program only.
ILLEGAL FUNCTION CALL ERROR
5
Statement or function is called incorrectly.
INPUT PAST END ERROR
54
All data in port has been read.
MISSING OPERAND ERROR
22
Necessary parameter is missing.
NEXT WITHOUT FOR ERROR
1
NEXT and FOR statements are not used in pairs.
NO RESUME ERROR
19
RESUME statement is missing in error processing routine.
NO SUPPORT ERROR
64
That operation is not supported.
OUT OF DATA ERROR
4
No data exists to be read by READ statement. Check number of
variables in READ statements and number of constants in DATA
statements.
OUT OF MEMORY ERROR
7
Memory capacity is full. Expand BASIC program area by CLEAR
and MSET commands.
OUT OF STRING SPACE ERROR
14
Character area is insufficient. Expand area by CLEAR command.
OVERFLOW ERROR
6
Numeric value exceeds predetermined range.
PORT ALREADY OPEN ERROR
52
Port with specified number has already been opened. Attempt is
made to open port more than once with the OPEN statement.
Delete unnecessary OPEN statements.
PORT NOT OPEN ERROR
57
Unopened port or I/O device is specified. Open port with the
OPEN statement.
Summary of Contents for C500-ASC04
Page 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Page 5: ...iv ...
Page 7: ...vi ...