(
(
(
LOAD
file-num[l~;~!
lJ
r,dev-addressl
BASIC
SOURCE
LOAD COMMAND
The LOAD command causes a previously saved file
to
be loaded into
the
work area
from
tape
for modification
and/or
execution. LOAD can also be used
to
prepare
the
work
area for
the
entry
from
the
keyboard
of
a new BASIC program,
data,
or
key group. The syntax
of
the
LOAD command
is
as
shown:
LOAD
file_num[l~;~!
lJ
r,dev-addressl
BASIC
SOURCE
where:
file-num
is
an integer value. An
entry
of
a indicates
that
a new file will be
entered
from
the
keyboard. An
entry
greater
than
a indicates
the
file number
of
the
file (saved
on
tape)
to
be loaded.
KEYx, KEYS, DATA, BASIC,
or
SOURCE specifies
the
type
of
data
to
be loaded
into
the
work area. BASIC
is
the
default when loading from
the
keyboard.
BASIC
or
SOURCE
is
the
default when loading from tape.
dev-address
is
the
address code
of
the
device containing a saved file
to
be
loaded. The default
is
the
built-in
tape
unit (address E80). Auxiliary
tape
unit
device address
is
E40.
Entering a LOAD command
of
LOADO
clears
the
entire work area, including all key
groups. A LOAD command specifying BASIC
or
DATA as
the
second parameter will
only clear
the
specified program from
the
work area,
without
altering existing key
groups. If
the
new file
type
is
a KEYx file,
the
new key file
is
added
to
the
work
area
without
altering
the
existing work area.
If
the
KEYx files already exist
in
storage,
the
loaded KEYx files will replace
the
old ones. The work area
is
assigned
the
file
type
specified
in
the
LOAD command. Line a will display READY
when in a BASIC program file type, DATA for a data file type, and KEYx
for
key
file
type.
You can begin entering
the
specified
type
of
lines
into
the
work
area.
The
line
type
entered (BASIC, DATA,
or
KEYx) must
be
the
same
type
of
file definition
as
the
work
area
or
the
line will
not
be accepted and an error message will
appear
on line
O.
KEYS and SOURCE are
not
valid options when loading from
the
key-
board (KEYx
is
valid). Note
that
the
LOADx, DATA
command
uses a 324-
character buffer.
15