78
CHAPTER
4
Programming
with
BASIC
Language
"LOAD
#"
is
used
to
load data in the DAT A BANK from a tape
to
the com-
puter.
The previous data are erased when new data are loaded.
However,
if
",
M"
is
specified at the end
of
the LOAD # command, the data
from the tape are loaded following the previously stored data left intact.
LOAD# "File name"
Up
to
8 characters.
Example:
LOAD# ''MEMO''
~
When data in the DATA BANK are being loaded, a display depending
on
the
storing format appears.
Storing format
Display
SAVE#
MF:
SAVE#
"file
name"
MF: file name
•
Data
Storing
and
Loading
A program always has data; it
is
troublesome
to
enter these data from the key-
board each time.
Try a method
by
which data in the computer are stored on tape and loaded
again.
To store data
on
a tape,
"PUT"
is
used.
Variables are specified in a
PUT command. A file name can also be specified.
PUT "File name"
Up
to
8 characters.
Variable 1, Variable 2
For a
file
name,
up
to 8 characters can be placed inside " "
as
for program
storing.
If
the
exclusi
ve
character variable ($)
is
used, specify it first. Then next two
variable names are specified
to
determine the beginning and end
of
the variables
to
be
stored.