If you see
VERIFY ERROR,
rewind your tape and try it again. If you still
get
VERIFY ERROR,
save your program and start over. (Note: be sure
to use music-quality low noise cassette tapes.)
You can use any name you like for your program. Because your PET
will only display 16 of the characters used in a program name, you'll
probably want to keep the names short.
When you name your programs, remember that PET doesn't need to
have the whole name typed on the keyboard in order to find it, when
you ask PET to load it. If you name your program
"ROCKETSHIP",
you
may ask PET to
LOAD
-
ROCK"
and it will find the right program and load
it. This means you must he careful to avoid naming one program
"ROCK"
and another program on the same tape
"ROCKET".
PET won't know
which is which, and will load the first program with the letters
ROCK
in
its name.
You do not need to incorporate the program name into the program
itself. PET saves the program name in a file header when it saves the
program, and that the only identification it looks for.
This means you can save your program in small pieces as you write it.
You may find it worthwhile to
SAVE
your work every 20 to 30 lines
or so, to avoid losing it in event of a power failure. But, since you may
not want to type the full program name each time, PET is designed not
to REQUIRE: a name:
even a third
SAVE
may prevent loss of your program and will prove to he
worth the extra few minutes it takes to save and verify the extra
copies.
Using your cassette
to load a program
The built-in cassette drive in your PET computer is your easy access
to a library of BASIC programs, either created by you or purchased
from the extensive COMMODORE library.
PET is like a pocket calculator in that it forgets everything when you
turn the power off. (Remember what happens to time) That is why
PET has a built-in cassette drive. Programs can be saved on tape
before power is turned off. They may he restored to PET's memory
when power is turned on again.
Take a cassette, open the cover, and place the cassette in just as
you would a normal audio cassette. Do not push any cassette keys at
[Ii is time.
Type
SAVE
and press
. PET will display
Now, hold down the
key. If you see:
key and touch and release the
and_ when you do so. PET will show
And as soon as the program is saved, PET will add the word
READY
to the display.
You may want to save your program more than once on the same tape
to be sure you have a good
copy.
As cassette tapes age, they
frequently stretch or wrinkle, especially at the ends. A second, or
32
33
I
www.commodore.ca
Free for personal use but you must have written permission to reproduce