1
Commodore computer). The BASIC Encyclopedia in the back of this
manual has more information about the HEADER command.
Saving Programs on Diskette
When you want to reuse a program you've written, be sure to SAVE it
before you LOAD another program or turn off the Commodore 16.If
you don't, you'll lose the program
When you change a SAVEd program. you have to SAVE it again if you
want to keep the new version
When you reSAVE a program. you are replacing the old version with
the new one. If you want to keep both the old and the changed
versions, you have to give the new one a different name when you
SAVE it
Follow these steps to save a program on disk
.
STEP 1 Type DSAVE "program name"
STEP 2 Press
MOM .
The computer displays this message when
the program is saved:
The Directory Command
When you SAVE programs on disk, the computer keeps a listing of all
the files saved on that disk. You can display the listing as a table of
contents to see what's on a disk by using the directory command
.
Type.
DIRECTORY
then press
HEMS
(or press FUNCTION KEY 3)
As soon as you press MOBS , your Commodore 16 displays
everything on your disk.
You can also display just part of the table of contents:
DIRECTORY "MY*"
Lists every file on the
disk that starts with the
letters MY.
DIRECTORY =PRG"
Lists every program file.
DIRECTORY "*=
SEQ"
Lists every sequential tile_
1
SAVING
0:
"program name"
READY.
I
Example
.
DSAVE "MYPROGS" The program name can be
up to 16 characters long
II the red light on the disk drive blinks after the DSAVE finished.
something went wrong. Type.
?DSS (and nit
UMW )
to learn what went wrong.
If you try to SAVE a program on a write-protectea disk (a disk that does
not accept your output) you must turn The drive OFF, then ON again
38
39
Need help?
Do you have a question about the Commodore 16 and is the answer not in the manual?
Questions and answers