EasyManua.ls Logo

Commodore 128D - Page 302

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...
The
RECORD
command
accepts
variables
for
its
parameters.
It
is
often
convienent
to
place
a
RECORD
command
within
a
FOR
...
NEXT
or
DO
loop.
Also
see
DOPEN
and
OPEN.
REM
—Comments
or
remarks
about
the
operation
of
a
program
line
REM
message
The
REMark
statement
is
a
note
to
whoever
is
reading
a
listing
of
the
program.
REM
may
explain
a
section
of
the
program,
give
informa
tion
about
the
author,
etc.
REM
statements
do
not
affect
the
opera
tion
of
the
program,
except
to
add
length
to
it
(and
therefore
use
more
memory).
Nothing
to
the
right
of
the
keyword
REM
is
inter
preted
by
the
computer
as
an
executable
instruction.
Therefore,
no
other
executable
statement
can
follow
a
REM
on
the
same
line.
EXAMPLE:
10
NEXT
X:REM
This
line
increments
loop
index
X.
RENAME
—Change
the
name
of
a
file
on
disk
RENAME
"old
filename"
TO
"new
filename"
[,Ddrive
number]
[<ON
|
,>Udevice
number]
This
command
is
used
to
rename
a
file
on
a
disk,
from
the
old
filename
to
the
new
filename.
The
disk
drive
does
not
RENAME
a
file
if
it
is
OPEN.
The
default
drive
is
0,
default
unit
is
8.
EXAMPLES:
RENAME
"TEST"
TO
"FINALTEST"
RENAME
(AS)
to
(B$),D0,U9
Change
the
name
of
the
file
"TEST"
to
"FINAL
TEST".
Change
the
filename
specified
in
A$
to
the
filename
specified
in
B$
on
drive
0,
device
number
9.
Remember,
whenever
a
variable
name
is
used
as
a
filename,
it
must be
enclosed
in
parentheses.
294
BASIC
7.0
ENCYCLOPEDIA—Basic
Commands
and
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals