Download Print this page

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

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

Advertisement

TRS-80
MODEL
III
DISK
SYSTEM
Program on
Disk
Program
in
Ram
10
+
10
20
30
40
50
60
70
90
90
100
110
120
Merged Program
in
Ram
10
20
30
40
50
60
70
90
100
110
120
Sample Use
Save
this
program
in
ascii format.
1000 REM
,
SUBROUTINE
TO SAY
HELLO
1010
PRINT "HELLO!
"
1020
RETURN
Type NEW
(ENTER)
,
then type
in this
program.
100
CLS
110
PRINT "LET'S CALL THE SUBROUTINE
,
120
PRINT "DIALING NOW
.
,
130
FOR
1=1
TO 1000
:
NEXT
140
GOSUB
1000
150
PRINT "BACK FROM SUBROUTINE."
1S0 END
Now
type
MERGE
"file"
using
the
file
name
given
to
the
first file.
List the
program.
Then
run
it.
RUN"program"
Load and
Execute a
Program from
Disk
mHfii^M
/^^
is
llie
name
of
a
basic
prograiii
file.
It
is
a
string
expression.
(Iff
a
string
constant
is
used,
it
must be
enclosed
in
quotes.)
The
,r
option
causes
120

Advertisement

loading