Download Print this page

Radio Shack TRS-80 model III Owner's Manual page 120

Mini-disk operation, trsdos disk operating system, disk basic programming language
Hide thumbs Also See for TRS-80 model III:

Advertisement

DISK BASIC
load
without
the
R
option
clears
all
variables
and
closes
all
open
files,
load
with
the
R
option
clears
all
variables but
does
not close
the
open
files.
load
with
the
r
option
is
equivalent
to
the
command
run
exp$,R. Either of
these
commands
can be used
inside
programs
to
allow
program
chaining
one
program
calling another,
etc.
Example
L0AD
M
PR0G1/BAS:2
M
Clears resident
basic
program and
loads
progi/bas
from
Drive
2;
returns
to
basic
command
mode.
MERGE
Merge
Disk
Program
with Resident
Program
MERGE
i
&$$
if
1W
^gelfication
for
an
Ascii-format basic disk
file,
eg.,
a
program
merge
is
similar
to
load
except
that
the resident
program
is
not erased before
the
new
program exp$
is
loaded.
Instead, the
new
program
is
merged
into
the
resident
program.
That
is,
program
lines in
exp$
will
simply be
inserted into the resident
program
in
sequential
order.
If line
numbers
in
exp$
coincide with
line
numbers
in
the
resident
program,
the resident
lines will
be
replaced
by
those
from
exp$.
119

Advertisement

loading