EasyManua.ls Logo

Commodore RF512C - Rename

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...
13
RENAME
Fun
ction
Th
is
interpreter
command
is
used
to
change
the
fi
l
ename
without affect
its
contents.
R
is
a mnemonic of rename direct
command.
Format
BA
SIC String$="R[ENAME]
newfile=ol
df
ile"
BASIC
7.0
RENAME
[D drive"',] "old
fi
le"
TO
"newname
"
Sy
ntax
[,U device"']
RENAME
[D drive"',] (oldfil
eS)
TO (newf
il
eS)
[,
U device"']
Remember, there has no single instruction
in
BA
SIC
2.0
th
at's equilvent to
RENAME
,
so
the f
irst
format
can
only work
in
multi-
command
form.
The newfile a
nd
oldfile must
be
st
rings
(i.e.
oldfile
sho
ul
d
be
so
me n
am
e of disk
fi
l
e).
The
dev
ice'"
de
f
au
lt value is 8.
The
drive'"
defau
lt value
is
O.
Whe
re
th
e pre
ced
ing lett
ers
D
and
U please refer to
SYNTA
X.
Example.
RENAME
"
CHECKER
"
TO
'
:t\GAIN
"
(Us
i
ng
DIRECTOR
Y to confirm the
result.)