EasyManua.ls Logo

Commodore 128D - Page 261

Commodore 128D
427 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...
CONCAT
CONT
COPY
/
\
—Concatenate
two
data
files
CONCAT
"file
2"
TO
"file
1"
[,Ddrive
number][<ON
|
,)Udevice]
The
CONCAT
command
attaches
file
2
to
the
end
of
file
1
and
retains
the
name
of
file
1.
The
device
number
defaults
to
8
and
the
drive
number
defaults
to
0.
Both
files
must
be
on
the
same
disk.
EXAMPLE:
CONCAT
"FILE
B"
TO
"FILE
A"
CONCAT
(A$)
TO
(B$),
D1,
U9
FILE
B
is
attached
to
FILE
A,
and
the
combined
file
is
designated
FILE
A.
The
file
named
by
B$
becomes
a
new
file
with
the
same name
with
the
file
named
by
A$
attached
to
the
end
of
B$—This
is
performed
on
Unit
9,
drive
1
(a
dual
disk
drive).
Whenever
a
variable
is
used
as
a
filename,
as
in
the
last
example,
the
filename
variable
must
be
within
parentheses.
—Continue
program
execution
CONT
This
command
is
used
to
restart
a
program
that
has
been
stopped
by
either
using
the
STOP
key,
a
STOP
statement,
or
an
END
state
ment.
The
program
resumes
execution
where
it
left
off.
CONT
will
not
resume
with
the
program
if
lines
have
been
changed
or
added
to
the
program
or
if
any
editing
of
the
program
is
performed
on
the
screen.
If
the
program
stopped
due
to
an
error;
or
if
you
have
caused
an
error
before
trying
to
restart
the
program,
CONT
will
not
work.
The
error
message
in
this
case
is
CANT
CONTINUE
ERROR.
—Copy
files
from
one
drive
to
another
in
a
dual
disk
drive,
or
within
a
single
drive
COPY
[Ddrlvo
number,]"source
f
ilename"TO"destinatlon
fllename"[,Ddrlve
numbor][<ON
|
,)Udevico]
This
command
copies
files
from
one
disk
(the
source
file)
to
another
(the
destination
file)
on
a
dual-disk
drive.
It
can
also
create
a
copy
of
a
file
on
the
same
disk within
a
single
drive,
but
the
filename
must
be
different.
When
copying
from
one
drive
to
another,
the
filename
may
be
the
same.
253
BASIC
7.0
ENCYCLOPEDIA—Basic
Commands
and
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals