EasyManua.ls Logo

Commodore 1541-II - Page 43

Commodore 1541-II
104 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...
EXAMPLES:
Just
before
saving
a
new
copy
of
a
"calendar"
program,
you
might
type:
PRINT#
15/
'RO:CALENDAR/B
ACKUP=CALENDAR''
Or
to
move
a
program
called
"BOOT",
currently
the
first
program
on
a
diskette
to
someplace
else
in
the
directory,
you
might
type:
PRINT#
15,'
'R0:TEMP
=
BOOT"
followed
by
a
Copy
command
(described
later),
which
turns
"TEMP"
into
a
new
copy
of
"BOOT",
and
finishing
with
a Scratch
command
to
get
rid
of
the
original
copy
of
"BOOT",
since
renamed
to
"TEMP"
by
the
command
above.
RENAMING
PROGRAMS:
BASIC
3.5
The
Rename
command
allows
you
to
alter
the
name
of
a
program
or
other
file
in
the
diskette
directory.
Since
only
the
directory
is
affected,
Rename
works
very
quickly.
FORMAT
FOR
RENAME
COMMAND:
RENAME
"old
name"
TO
"new
name",Ddrive
#,Udevice
#
where
"new
name"
is
the
name
you
want
the
file
to
have,
and
"old
name"
is
the
name
it
has
now.
"new
name"
may
be any
string
expression
that
evaluates
to
a
valid
file
name,
up
to
16
characters
in
length.
If
"D"
is
left
out,
drive
0
is
assumed.
If
"U"
is
absent,
clevice
8
is
assumed.
One
caution—be
sure
the
file
you
are
renaming
has
been
properly
closed before
you rename
it.
EXAMPLES:
Just
before
saving
a
new
copy
of
a
"calendar"
program,
you
might
type:
RENAME
"CALENDAR"
TO
"CALENDAR/BACKUP"
Or
to
move
a
program
called
"BOOT",
currently
the
first
program
on
a
diskette
to
someplace
else
in
the
directory,
you
might
type:
RENAME
"BOOT"
TO
"TEMP"
followed
by
a
Copy
command
(described
later),
which
turns
"TEMP"
into
a
new
copy
of
"BOOT",
and
finishing
with
a
Scratch
command
to
get
rid
of
the
original
copy
of
"BOOT",
since
renamed
to
"TEMP"
by
the
command
above.
35

Table of Contents

Related product manuals