EasyManua.ls Logo

Commodore RF512C - Page 20

Commodore RF512C
52 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...
15
COpy
IBACKUP
Fun
ction These
in
terpreter
commands
copy
file(s)
or the whole
disk to
ano
ther
fi
le or disk
in
the same unit
so
they
can
be
considered
as
files
combination
commands.
C
is
the mnemonic of
copy
direct
command
.
Fo
rmat
BA
SIC
BASI
C 7.0
Syntax
st
r
ing$=
"
cr
OPY
] :
copy
file = sourcefile 1
[,
source
fil
e
2].
..
C
OPY
"sourcefile"[,D
drive"
]
TO
"copyfile"
[D
drive"
,U
device"]
BACKUP
D sourcedrive"
TO
D
copydrive"
[,U
dev
i
ce
" ]
Remember, there has no si
ng
le instruction
in
BASI
C 2
.0
that's equilvent to COpy or
BA
C
KUP,
sa
the
fi
r
st
f
orma
t
can
only works in mul
ti
-
command
form.
The
copy
file
and
sourcefile
mus
t
be
str
ings
(i.e.
sourcefile should
be
some
name
of disk
fi
le).
If
no
fi
l
ename
is
assigned to
COPY
command,
then
C
OPY
all files action will take.
The
device
" default value
is
8.
The
drive" default value
is
O.
Where the
preceding
letter D
and
U please refer
to
S
YNTA
X.
E
xampl
e:
10
C
LOSE
1
20
OPEN
1
,8
,15, "c :
DE
ST=
DEMO
,C
HE
C
KER
"
30 C
LO
SE 1
(You
can
check
t
he
directory to
con
firm the
size
of
DE
ST
that
is
equa
l to the length of
DEM
O plus
CHECKER
's
l
eng
th.)
In
single drive
sys
tem,
BA
C
KUP
di
sk
is
nonsence.