English
Language : 

NSB8 Datasheet, PDF (28/158 Pages) List of Unclassifed Manufacturers – BASIC interpreter for Z80 family
LOAD
grifo®
ITALIAN TECHNOLOGY
COMMAND:
LOAD <file name>
ACTION:
Thetokenized BASIC program contained in the specified file is loaded into the program/data area and
becomes the current program.
EXAMPLES:
LOAD PROG3.B
LOAD TEST8.B,2
{load file PROG3.B from drive #1}
{load file TEST8.B from drive #2}
REMARKS:
The specified file must be of tokenized type, or in other words composed by valid instruction codes.
The successful LOAD command performs a scratch of the program/data area before loading the
program.
ERROR MESSAGES:
TOO LARGE OR NO PROGRAM ERROR
Either the program in the specified file is too big to fit in the program/data area, or the file does not
contain a valid BASIC program. In either case, a scratch of the program/data area occurs. (See
command MEMSET and section PERSONALIZING BASIC for information on how to increase the
size of BASIC’s program/data area in order to avoid this error.)
HARD DISK ERROR
Refer to command CAT. Depending on the point during the load operation at which such an error
occurs, a memory scratch may be performed.
FILE ERROR
ARG ERROR
TYPE ERROR
See command SAVE. If an attempted LOAD results in any of these errors, no change in the program/
data area occurs. Specifically, all variables will retain their values, the current program will remain,
and, if the abortive LOAD occurs during a program whose execution has been interrupted by
<control-C> or the execution of a STOP statement, the CONT command may still be used to resume
program execution.
SEE ALSO:
Command SAVE
Command SCR
Page 16
NSB8
Rel. 5.10