Action: The system command RUN is used to start the program currently in memory. The RUN command causes an implied CLR operation to be performed before starting the program. You can avoid the CLeaRing operation by using CONT or GOTO to restart a program instead of RUN. If a <line-number> is specified, your program will start on that line. Otherwise, the RUN command starts at first line of the program. The RUN command can also be used within a program. If the <line-number> you specify doesn't exist, the BASIC error message UNDEF'D STATEMENT occurs.
A RUNning program stops and BASIC returns to direct mode when an END or STOP statement is reached, when the last line of the program is finished, or when a BASIC error occurs during execution.
EXAMPLES of RUN Command:RUN (Starts at first line of program) RUN 500 (Starts at line-number 500) RUN X (Starts at line X, or UNDEF'D STATEMENT ERROR if there is no line X)
Action: The SAVE command is used to store the program that is cur- rently in memory onto a tape or diskette file. The program being SAVEd is only affected by the command while the SAVE is happening. The program remains in the current computer memory even after the SAVE operation is completed until you put something else there by using another command. The file type will be "prg" (program). If the <device-number> is left out, then the C64 will automatically assume that you want the program saved on cassette, device number 1. If the <device-number> is an <8>, then the program is written onto disk. The SAVE statement can be used
This page has been created by Sami Rautiainen. | |
Read the small print. | Last updated November 14, 1998. |