EasyManua.ls Logo

Commodore 16 - Page 51

Commodore 16
94 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...
[ I
EXAMPLE
COLLECT DO
CONT
CONT (Continue)
This command is
used lo re-slarl the execution ol
a
program
that has
been
slopped by
either using
the STOP key. a STOP statement, or
an
END statement within the program. The program
win resume execution
where
it 'eft off. CONT will not work if
you
have changed or
added
lines of the program (or
even (ust moved the cursor to
a
program line
and
hit
return without changing anything), if
the
program
slopped due
to
an error,
or if you caused an error
before
trying
to
re-start
the
program The error
message
in this
case is CAN'T CONTINUE
ERROR.
COPY
COPY [Ddrive#,J "source file"
TO
[Ddrivejf
,)
"other file"
[,ON Uuntt#]
COPYs a file on the disk in one drive
(the source file)
to the
disk in
the
other on a
dual
disk drive only, or creaies
a copy
of
a file on the same
drive (with
a
different file
name).
EXAMPLES-
COPY
DO/'NOON" TO Dl, "NIGHT"
COPY DO,
"STUFF" TO Dl, "STUFF"
COPY DO
TO Dl
Copies
NOON
from
drive lo drive
1
,
renaming
it
NIGHT
Copies STUFF from
drive
to drive 1
Copies all tiles from
drive
Q to
drive
1.
"'.'/
COPY "CATS" TO "DOGS"
f
I
[
I
f
(
I
Copies CATS
as a
program
called
DOGS
on ihe same drive.
DELETE
DELETE
[first
Hne#J
|- iasl llne*|
Deletes lines
ot BASIC text. This command can be executed
only in
direct mode.
EXAMPLES:
DELETE 75
DELETE 10
-
SO
DELETE -30
DELETE 75-
Deietes line
75.
Deetes
lines 10
through 50
inclusive.
Deletes all
tines from
the
beginning ol
the
program
up to
and Including line
50.
Deletes ail lines from 75 on
to Ihe end
of
the
program
DIRECTORY
DIRECTORY |Ddrive#] [,Uunii#|[. 'filename"!
Displays a disk directory on the Commodore ^6 screen Use CTRL -S
lo pause Ihe
display
(any other key restarts the
display after
a pause)
Use me
fr
key (Ihe Commodore
key) to
slow
II down. The
DIRECTORY command cannot
be used to
print
a
hard
copy
You must
load the disk directory (deslroying the program currently
in
memory) to
do that.
f
BB

Other manuals for Commodore 16

Related product manuals