CHAIN
[MERGE]
filespec
[,line]
[ALL]
[,DELETE
line
-line]
l_oads
a BASIC program named filespec, chains it to a
'main" program, and begins running
it.
The line is the
first line to be run in the CHAINed program. The ALL
option passes every variable
in
the main program to
the CHAINed program. The MERGE option "overlays"
the lines of
filespec with the main program. The
DELETE option erases lines
in
the overlay so that you
can MERGE
in
a
new
overlay.
CLEAR
[,memory
location]
[,stack
space]
Clears the value
of
aI/
variables and closes
aI/
open
files. Optional/y, it also sets the highest
memory
location for BASIC and the amount
of
stack space.
CLEAR
CLEAR,
75
CLEAR,
81000,200
CL,OSE
buffer
..
Closes access to a file. The buffer number (the same
used to OPEN the file) may be from 1 to
15.
CLOSE
1,
2,
8
CLOSE
FIRST% +
COUNT%
CLS
Clears the screen.
CLS
COMMON
variable,
..
Passes one
or
more variables to a CHAINed program.
100
COMMON
A,
5,
C,
D( ) t
G$
110
CHAIN
"PROG3" t 10
CONT
~lesumes
execution
of
a program when it has been
stopped by the
(flREAKI
key
or
by a STOP or an END
statement
in
the program.
CONT
18