EasyManua.ls Logo

Commodore Plus 4 - Page 40

Commodore Plus 4
464 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...
38
The
BASIC
Language
Also
unlike
the
BACKUP
command,
COPY
does
not
duplicate
disk
errors
in
a
file.
If
a
file
you
are
COPYing
contains
a
disk
error,
the
file
is
not
copied.
The
advantage
of
this
difference
is
that
you
do
not
duplicate
inaccessible
files.
Parameter
Values
Default
drive
number,
0
or
1
0
"master
file"
any
file
name
in
quotes
TO
drive
number,
0
or
1
0
"receiving
file",
any
file
name
in
quotes
U
unit
number
8-11
8
1.
Both
drive
numbers
can
be
omitted
if
you
are
making
a
duplicate
of
a
file
on
the
same
disk.
2.
The
Master
File
is
the
name
of
the
file
you
want
to
copy.
The
name
must
be
in
quotes.
3.
TO
is
a
necessary
part
of
the
COPY
command.
The
drive
number
can
be
omitted,
but
TO
cannot.
4.
The
Receiving
File
is
the
name
of
the
file
that
will
become
the
copy
of
the
master
file.
The
receiving
file
name
can
be
the
same
as
the
master
file,
which
is
likely
when
you
are
copying
from
one
drive
to
another.
The
name
must
be
in
quotes.
The
receiving
file
name
must
be
different
if
you
are
copying
afile
onto
the
same
disk.
5.
Unit
number
is
an
optional
parameter.
Use
it
only
if
you
have
more
than
one
disk
drive
connected
to
your
computer
and
you
are
using
a
device
other
than
unit
8
in
the
COPY
procedure.
You
must
precede
the
unit
number
with
U,
and
the
unit
number
must
be
between
8
and
11.
You
can
type
ON
before
the
unit
number,
but
ON
is
not
required.
Most
people
will
never
need
the
unit
number
option.
Note:
The
drive
and
unit
number
parameters
and
the
file
names
can
be
specified
with
a
variable
or
expression
in
parentheses.
Examples:
COPY
DO,
"ADDR" TO
Dl,
"ADDR"
Copies
the
file
ADDR
from
the
disk
in
drive
0
to
the
disk
in
drive
1.
COPY
DO
TO
Dl
Copies
all
the
files
on
the
disk
in
drive
0
to
the
disk
in
drive
1.
COPY
"MEM01"
TO
"MEM02"
Copies
the
file
MEMO1
onto
the
same
disk,
renaming
the
file
MEMO2.
This
does
not
affect
MEM01.

Other manuals for Commodore Plus 4

Related product manuals