EasyManua.ls Logo

Commodore 64 - Run; Save

Commodore 64
176 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
RUN 100
RUN X
SAVE
Starts program at lowest line number
Starts execution at line 100
UNDEFINED STATEMENT
ERROR. You must
always specify an actual line number,
not a variable representation
This command will store the program currently in memory on cassette
or disk. If you ju;t type SAVEand RETURN,the program will be SAVEdon
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 SAVEfollowed 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 a 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 LOADcommand. If you try to LOADa program and the com-
puter finds one of these markers, you will get a FILENOT FOUND ER-
ROR.
SAVE
SAVE "HELLO"
SAVE A$
SAVE "HELLO",8
SAVE "HELLO", 1, 1
-.
Stores program to tape without name
Stores on tape with name HELLO
Stores on tape with name in A$
Stores on disk with name HELLO
Stores on tape with name HELLO
and follows program with END-OF-
TAPEmarker
116

Table of Contents

Other manuals for Commodore 64

Related product manuals