SAM Coupe Disk Drive Manual 13
ESCAPING FROM A
PROGRAM
RENAMING A FILE
COPYING A FILE
"One point has
already been
proved.
Everything that
happened once
can happen again"
(Jacobo Timerman)
MAKING BACK-UPS
"It can't happen
here is number
one on the list
of famous last
words"
(David Crosby)
To break into the program and stop Squares
running, use the Coupe's normal ESC key.
Note that ESC will stop the computer running
most normal routines and BASIC programs, but
it will have no effect during a disk
read/write (i.e. LOAD or SAVE) operation
until the disk activity has been completed.
Type DIR 1 to see 'Squares' directory entry.
To RENAME a file, we use the keywords RENAME
and TO. Let's RENAME the Squares file as
Example 1: RENAME "Squares" TO "Example 1"
Look at the DIRectory again, to confirm that
the change has been made.
To copy a file, use the two keywords COPY
and TO. COPY the program you have written by
typing: COPY "Example 1" TO "Newcopy"
Once the file has been loaded into the
computer's memory, you are prompted to
"Enter target disk press any key". To make a
new copy of the file on the same disk,
simply press the SPACE bar now. Or, if you
want your copy on a different disk, insert
that now and press SPACE. (Don't forget that
your disk must be formatted.)
When copying's complete, you'll see: "Enter
source disk press any key". The Coupe is
checking whether there are more files to be
copied. (You'll see why when you come to
"Wild cards" later.) so re-insert your
original disk and press SPACE. If there are
no other files to copy, you'll see an OR
message.
Computer abuse is a growing social problem.
A
common cause of violence is when the
computer deliberately corrupts or loses a
vital file. Don't believe that it can't
happen to you. It will! Even the SAM Coupe
can be temperamental. So make it a habit to
back up key files. Use a different disk but
keep the same file-name. In this case, using
your original disk, type:
COPY "d1:Example 1" TO "dl:Example 1"
Again, you're prompted to insert the target
disk, and this time you'll put in a
different (formatted) disk. If the file
already exists on the back-up disk, you'll
be asked whether you wish to overwrite it.
Type Y for Yes or N to cancel the copy.
Summary of Contents for SAM drive
Page 1: ......