EasyManua.ls Logo

Commodore 128 - Page 310

Commodore 128
448 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/RUN
Execute BASIC program
RUN [line #]
RUN filename [,Ddrive number] [,Udevice number]
C128 mode only
Once a program has been typed into memory or LOADed, the
RUN command executes it. RUN clears all variables in the
program before starting program execution. If there is a number
following the RUN command, execution starts at that line number.
If there is a filename following the RUN command, the named file
is loaded from the disk drive and RUN, with no further action
required of the user. RUN may be used within a program. The
default drive number is 0 and default device number is 8.
EXAMPLES:
RUN
Starts execution from the beginning of the program currently in
memory.
RUN 100
Starts program execution at line 100
RUNPRG1
DLOADS PRG1 from disk drive 8, and runs it from the first line.
RUN(A$)
DLOADs the program named in the variable A$ and
runs it from the first line.
SAVE
Store the program in memory to disk or tape
SAVE [“filename”] [,device number] [,EOT flag]
This command stores the program currently in memory onto
cassette tape or disk for later retrieval. If SAVE is typed alone an
unnamed file will be saved to tape. Tape is a sequential system
and, therefore.it is up to the user to ensure that there is nothing
17-68

Table of Contents

Other manuals for Commodore 128

Related product manuals