Radio Shack TRS-80 Model 100 Basic Manual page 31

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

Advertisement

Delete line 30 by entering the line number. Now list the program to verify that
it
is:
List
10 PRINT "THIS IS A TEST"
20 PRINT "OF THE MODEL 100 COMPUTER"
Ok
I
This is not the program that was saved on the cassette (line 30 is missing). The
CLOAD? command will be used to compare the program in working memory to the
program saved on cassette. Since they are not the same, an error message will be
displayed.
Rewind the cassette and press the play key. Enter the command
CLOAD?
This time, the message:
Verify failed
will be displayed, indicating that the two programs are not the same.
Don't forget the question mark (?) after CLOAD since otherwise the program saved on
tape will be loaded into working memory, replacing the resident program there. If the
CLOAD? command indicates a "bad" program on tape. then the CSAVE command
can be used again to resave it.
Experiment #7 Merging two Programs
Rewind the cassette tape containing the saved program and press the PLAY key. Then
load the program back into memory with the CLOAD command. List the program to
confirm that it is:
LIST
10 PRINT
~THIS
IS A TEST"
20 PRINT "OF THE MODEL 100 COMPUTER"
30 PRINT "AND ITS ABILITY TO STORE FILES
25

Advertisement

Table of Contents
loading

Table of Contents