Commodore 64 User Manual page 126

Hide thumbs Also See for 64:
Table of Contents

Advertisement

RUN
This command causes execution of a program, once the program is
loaded into memory. If there is no line number following RUN, the com-
puter will start with the lowest line number. If a line number is desig-
nated, the program will start executing from the specified line.
RUN Starts program at lowest line number
RUN 100 Starts execution at line 100
RUN X UNDEFINED STATEMENT ERROR. You must
always specify an actual line number,
not a variable representation
SAVE
This command will store the program currently in memory on cassette
or disk. If you just type SAVE and RETURN, the program will be SAVEd on
cassette. The computer has no way of knowing if there is a program
already on that tape, so be careful with your tapes or you may erase a
valuable program.
If you type SAVE followed by a name in quotes or a string variable,
the computer will give the program that name, so it can be more easily
located and retrieved in the future. The name may also be followed by
a device number.
After the device number, there can be a comma and a second
number, either 0 or 1. If the second number is 1, the Commodore 64 will
put an END-OF-TAPE marker after your program. This signals the
computer not to look any further on the tape if you were to give an
additional LOAD command. If you try to LOAD a program and the com-
puter finds one of these markers, you will get a FILE NOT FOUND ER-
ROR.
SAVE Stores program to tape without name
SAVE "HELLO"
Stores on tape with name HELLO
SAVE A$ Stores on tape with name in A$
SAVE "HELLO", 8 Stores on disk with name HELLO
SAVE "HELLO", l ,1 Stores on tape with name HELLO
and follows program with END-OF-
TAPE marker
W
P
116

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Commodore 64

Table of Contents