Radio Shack TRS-80 Model 100 Basic Manual page 28

Basic language lab
Hide thumbs Also See for TRS-80 Model 100:
Table of Contents

Advertisement

Experiment #5 Loading a Program from
Cassette
The program you just saved on tape in the previous experiment, PROG1, will now be
loaded back into working memory. But first, delete PROGI from working memory
with the NEW command.
Verify that it has been deleted with the LIST command or by pressing the LIST
Function Key,
~.
Be sure that the cassette recorder is properly attached to the Computer. Insert the
cassette containing the program into the recorder and rewind if necessary.
Press PLAY on the recorder. The key will stay down, but the tape will not advance.
Enter the following command:
CLOAO "PROG1"
As soon as you press (ENTER), the tape will start turning and the program will be read
into the Computer. If this is accomplished successfully, the computer will display:
FOUI\ID: Pf{OG 1
Ok
If the tape was not read successfully, an 110 (InpuUOutput) error message will be
displayed.
If
this happens, rewind the tape and adjust the volume control. Then use
the CLOAD command again to read the tape.
If the tape is read successfully, you may verify that the program is in working
memory by listing it with the LIST command (or with
~).
The following will be
displayed:
LIST
10 PRINT "THIS IS A TEST"
20 PRINT "OF THE MODEL 10m COMPUTER"
30 PRINT "AND ITS ABILITY TO STORE FILES
Ok
22

Advertisement

Table of Contents
loading

Table of Contents