Download Print this page

Radio Shack TRS-80 Owner's Manual page 138

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

Advertisement

EL
IIS
DISK
SYSTEM
Program on
D
sk
+
Program
in
Ram
Sferg
ed
Program
10-
••'';
10
ili^Biiiiissiiiiiiii
20
20
30
30
40
40
50
50
60
60
70
70
3C
110
90
sc
:
i
CO
i
via
vm
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,"
1G0
END
Now
type
HERGE
"file"
using
the hie
name
given
to
the
first file.
List the
program.
Then
ran
it.
99
EUN"program
?
Load and
Execute a
Program from
Disk
w
'.>:>
-W
,;
file
is
the
name
ef
a
iassC
program
vm
%i
\%
g
mtlm
%mmmm. m
a string
constat
is
used,
if
must
be sraiesed
In
qumm,)
Trie
s-
spllort
mmm
the
program
Is
w%.
120

Advertisement

loading

This manual is also suitable for:

Model iii