Apple IIe User Manual
Page 35
Page 35 of 74
IIe
Printed: Tuesday, March 4, 2003 10:40:15 AM
Saving a Program on a Disk
Now that you've got a formatted disk, get back into the BASIC programming environment by
restarting the ProDOS User's Disk and selecting option B (to accept Applesoft BASIC); then type
the following program into memory as you did before:
NEW
10 PRINT HOW OLD ARE YOU? 20 INPUT A 30 LET D = A * 365 40 PRINT THAT MAKES YOU D 50 PRINT DAYS
OLD! 60 END
To save this program, put your formatted disk in drive 1 and type SAVE, followed by the name
you want to give your program.
For example:
SAVE AGE
and press Return.
If you want to save the program on a disk in drive 2, put your formatted disk in drive 2 and
type
SAVE AGE,D2
and press Return.
You'll know your program is being saved when you hear the appropriate disk drive whir.
Once
your program is stored safely on a disk, you can turn off your computer secure in the knowledge
that your program is accessible to you anytime you want to amaze and astonish your
non-programming friends.
Naming Programs:
You can name your program anything you want, within these guidelines:
Maximum of 15 characters long.
Must begin with a letter.
Numbers, letters, periods (no other punctuation) permitted.
No spaces permitted.
Different operating systems and different application programs have slightly different (usually
more liberal) rules, but if you follow these, you can't go wrong.
Running Your Program
When you want to use a program that's stored on a disk, all you have to do is start up the
ProDOS User's Disk and select the Applesoft BASIC option, put the disk that contains your
program in drive 1, then type RUN AGE (or whatever you named your program).
If you want to run a program from a disk in drive 2, type
RUN AGE,D2
and your program is off and running.
If you want to load a program into memory but don't yet want to run it, type LOAD, and then the
name of the program.
Cataloging a Disk
After you've written and saved several programs on a disk, you may have trouble remembering