English
Language : 

NSB8 Datasheet, PDF (138/158 Pages) List of Unclassifed Manufacturers – BASIC interpreter for Z80 family
grifo®
ITALIAN TECHNOLOGY
ERROR MESSAGE
This section lists all the possible error messages printed by NSB8. For any errors which are trappable
using the ERRSET statement, the error number is given in parentheses after the error message.
The brief discussion of the general causes of each error is intended in large part to supplement the
ERROR MESSAGE descriptions as given in the exposition sections for each language feature (and
as also occasionally treated in DISCUSSION sections).
ARG ERROR
(1)
An attempt has been made to give an invalid argument to a command or function.
ARG MISMATCH ERROR
(13)
The number of arguments in the call for a user defined function does not match the number of
parameters for that function.
CONTINUE ERROR
(non trappable)
An illegal attempt has been made to continue program execution. Program execution may not be
continued if the previous execution stopped on an error, if any editing of the current program has
taken place during an interruption, or if the program has executed an END statement.
CONTROL STACK ERROR
(non-trappable)
This error occurs when there is improper nesting of FOR and NEXT statements, GOSUB and
RETURN statements, or multi line user function calls and RETURN statements. It also occurs when
a FOR statement is the last statement in program.
DIMENSION ERROR
(2)
An attempt has been made to redimension an array or string, or to use the dimension statement in
some other, illegal, fashion.
DIVIDE ZERO ERROR
(9)
An attempt has been made to divide by zero.
DOUBLE DEF ERROR
(non trappable)
There exists more than one definition for the same user function in the same program. Functions are
defined at RUN time, so this message will occur before program execution actually begins.
FILE ERROR
(7)
The program is trying to access a diskette file which doesn’t exist or is of incorrect type. This error
will also occur when you try to LOAD a BASIC program from a type 2 file which has never before
held a BASIC program. File errors occur when attempts are made to use file numbers which are less
than 0 or greater than 7, or when a file is begin opened, but the file number specified is already in
use. Finally, a FILE ERROR can occur if any attempts are made to store information on, or erase
information from, a write protected diskette.
FORMAT ERROR
(5)
An illegal format string has been used in a PRINT statement. Either the format string is formed
incorrectly, or the field specifications are too big or are inconsistent. Also, an attempt to PRINT a
value which won’t fit into a specified field, or to PRINT a non integral value using I format will result
in this error.
Page 126
NSB8
Rel. 5.10