PC 8300 Report Messages (NF BK UV etc.)

Post Reply
David G
Posts: 387
Joined: Thu Jul 17, 2014 7:58 am
Location: 21 North, 156 West

PC 8300 Report Messages (NF BK UV etc.)

Post by David G »

OK Success
NF NEXT without FOR
UV Undefined Variable
BS Bad Subscript
OM Out of Memory
SF Screen Full
OV Overflow
RG RETURN without GOSUB
II Illegal INPUT
ST STOP executed
AG Invalid argument
IR Integer out of range
IE Invalid expression
BK BREAK key pressed
NA SAVE name is the null string
MF Music string format is incorrect

From pages 59-60 of 'PC 8300 PERSONAL COMPUTER' manual

Code: Select all

APPENDIX B

REPORT MESSAGES

After a command is executed or after a program execution is 
completed or interrupted, a report message will be displayed 
showing what has happened and where in the program it 
happened. If a command is executed then only the message 
without the line number is displayed. The message remains 
until a key is pressed.

The following table gives each report message with a general 
description and a list of the situations where it can occur.

Message	Meaning
OK	Successful completion of a program, or jump to
	line number bigger than any existing. A report
	with "OK" does not change the line number used
	by CONT.

NF	NEXT without FOR.
	NEXT is used without a matching FOR
	statement.

UV	Undefined variable.
	This will happen when
	(i)   a simple variable is used before it has been
	      assigned in a LET statement;
	(ii)  a subscripted variable is used before it has
	      been assigned in a DIM statement; or
	(iii) a control variable is used before it has been
	      set up as a control variable in a FOR
	      statement, while there is no ordinary simple
	      variable with the same name.

BS	Bad subscript.
	Attempt to assign a matrix element with a
	subscript a beyond the dimensioned range.

	Situation:
	Subscripted variables

OM	Out of memory.
	Due to shortage of memory, the report message
	may be incomplete on the screen.

	Situation:
	LET, INPUT, DIM, PRINT,
	LIST, PLOT, UNPLOT,
	FOR, GOSUB.
	Sometimes during function
	evaluation.

SF	Screen full.
	CONT will make room by clearing the screen.

	Situation:
	PRINT, LIST
	
OV	Overflow.
	The number calculated is greater than about
	10^38

	Situation:
	Any arithmetic

RG	RETURN without GOSUB.
	A RETURN statement is encountered before a
	matching GOSUB is executed.

II	Illegal INPUT.
	Attempt to use INPUT as a direct command.

ST	STOP statement executed.
	CONT will execute the next statement.

AG	Invalid argument to certain functions.

	Situation:
	SQR, LOG, ASN, ACS, **

IR	Integer out of range.
	When an integer is required, the floating point
	argument is rounded to the nearest integer. If
	IR error results if this is outside a suitable range.

	Situation:
	RUN, RAND, POKE, DIM,
	GOTO, GOSUB, LIST,
	LLIST, PAUSE, PLOT,
	UNPLOT, CHR$, PEEK,
	USR, SOUND, TEMPO

IE	Invalid expression
	The text of the (string) argument of VAL does
	not form a valid numerical expression.

BK	Program interrupted by "BREAK" key. In
	certain circumstances, the "SPACE" key acts
	as "BREAK". This is recognized:
	(a) at the end of a statement while a program
	    is running.
	(b) while the computer is looking for a program
	    on tape, or
	(c) while the computer is using the printer.

	Situation:
	At end of any statement, or
	in LOAD, SA VE, LPRINT,
	LLIST, COPY or INPUT

NA	Program name provided is the null string which
	is not allowed.

	Situation:
	SAVE

MF	Music string format incorrect
Post Reply