Basic Error Messages - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

Part 6: BASIC Error messages
1 Unexpected NEXT
A N E X T command has been encountered while not in a FOR loop, or the control
variable in the NE X T command does not match that in the FOR.
2 Syntax Error
BASIC cannot understand the given line because a construct within it is not legal.
3 Unexpected RETURN
ARE T URN command has been encountered when not in a sub-routine.
4 DATA exhausted
ARE A D command has attempted to read beyond the end ofthe last D A TA.
5 Improper argument
This is a general purpose error. The value of a function's argument, or a command
parameter is invalid in some way.
6 OverfLow
The result of an arithmetic operation has overflowed. This may be a floating point
overflow, in which case some operation has yielded a value greater than 1.
7E
t
38
(approx.). Alternatively, this may be the result of a failed attempt to change a
floating point number to a 16 bit signed integer.
7 Memory fuLL
The current program or its variables may be simply too big, or the control structure is
too deeply nested (nested GO SUBs, W H I
L
Es or FORs).
A M E M 0 R Y command will give this error if an attempt is made to set the top of
BASIC's memory too low, or to an impossibly high value. Note that an open file has a
buffer allocated to it, and that may restrict the values that M EM 0 R Y may use.
For your reference ....
Chapter 7 Page 27

Advertisement

Table of Contents
loading

Table of Contents

Save PDF