Commodore 2001-8 User Manual page 137

Table of Contents

Advertisement

Appendix C
BASIC COMMANDS
CLR
LIST
LOAD
NEW
RUN
SAVE
VERIFY
A command is usually given after BASIC has typed READY. This is called the "Command Level".
Commands may be used as program statements. Certain' commands, such as LIST and NEW will
terminate program execution when they finish.
CLR
LIST
LOAD
LIST X
LIST or LIST-
LIST
X-
LIST -X
LIST Y-X
LOAD
LOAD "HURKLE"
LOAD "HURKLE", 2
10 LOAD "HURKLE"
C·1
Deletes all stored references to variables,
arrays, functions, GOSUB and FOR·NEXT
context.
Lists line "X" if there is one.
Lists the entire program.
Lists all lines in a program with a line
number equal to, or greater than, "X".
Lists all of the lines in a program
with
a
line number less than, or
equal to, "X".
Lists all of the lines within a program with
line numbers equal to, or greater than, "Y",
and less than or equal to "X".
If LIST is used as a program statement, the
program will terminate after it is executed.
Load first program found on cassette #1
into memory.
Search for named file on cassette #1 and
then load it into memory.
Same as previous, except from device #2.
When LOAD is specified as a program
statement, execution of the current
program in memory stops at this point.
A normal load of program proceeds. The
new program begins execution from its
lowest line number. Variables and their
values are passed from the load to the new
program. Strings and function definitions
cannot be relied upon because BASIC
maintains pointers into the old text

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pet 2001-8

Table of Contents