to
four sequential data files (linking the files one
to
another, end
to
end
in
a chain). Files
are linked in the order
in
which they appear
in
the command. The source files and other
files on the diskette are not changed. Files must be closed before they are copied or linked.
FORMAT FOR THE COPY COMMAND
PRINT#IS,"COPYdrive
#:new
file=old
file"
EXAMPLES:
PRINT#lS,'
'COPY0:BACKUP= ORIGINAL"
or abbreviated as
PRINT#1 S,"Cdrive
#:new
file=old
file"
PRINT#IS,
"C0:BACKUP = ORIGINAL"
where
"drive
#"
is the drive number
"new
file"
is
the copy and
"old
file"
is
the
original.
FORMAT FOR THE COMBINE OPTION
PRINT#lS,
"Cdrive
#:new
file
=
file
1 ,file 2,file 3,
file
4"
where
"drive
#"
is
always 0,
NOTE: The length
of
a command string (command and filenames)
is
limited to
41
characters.
EXAMPLES:
After renaming a
file
named
"BOOT"
to
"TEMP"
in the last section's example,
you can use the
COpy
command
to
make a spare copy of the program elsewhere
on
the
diskette, under the original name:
PRINT#IS,
"C0:BOOT =
TEMP"
After creating several small sequential files that
fit
easily
in
memory along with a
program we are using, you can use the concatenate option to combine them
in
a master
file, even if the result
is
too big
to
fit
in
memory. (Be sure it will
fit
in remaining space on
the
diskette-it
will be
as
big
as
the sum
of
the sizes of the files in it.)
PRINT#IS,
"C0:A-Z = A-G,H-M,N-Z"
22