EasyManua.ls Logo

Commodore Plus 4 - Page 90

Commodore Plus 4
464 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...
78
The
BASIC
Languag
one
disk
drive
connected
to
your
computer
and
you
are
using
a
device
other
than
unit
8
in
the
RENAME
procedure.
You
must
precede
the
unit
number
with
U,
and
the
unit
number
must
be
between
8
and
11.
You
can
type
ON
before
U,
but
ON
is
not
required.
Note:
The
drive
and
unit
number
parameters
and
the
file
names
can
be
specified
with
a
variable
or
expression
in
parentheses.
Examples:
RENAME
Dl,
"OLD"
TO
"NEW"
Changes
the
name
of
file
OLD
to
NEW.
RENAME
"TESTSORT"
TO
"S0RT1"
Changes
file
TESTSORT
to
SORT1.
RENUMBER
Abbr.
renU
RENUMBER
new
start
line
number,
increment,
old
start
line
number
Renumbers
lines
in
the
current
BASIC
program.
This
command
can
be
executed
in
immediate
mode
only;
you
cannot
include
it
in
a
program.
Parameter
Values
Default
New
first
line
number
Increment
between
lines
First
line
number
to
be
renumbered
Any
legal
number*
Any
legal
number*
Any
line
number
in
the
program
10
10
First
line
in
the
program
♦Renumbering
must
not
force
line
numbers
to
exceed
the highest
line
number
allowed,
which
is
63999,
or
strange
results
will
occur.
1.
Regardless
of
what
numbering
scheme
is
used
in
the
current
program,
you
can choose
any
new
first
line
number.
If
you
omit
this
parameter
and
thereby
use
the
default,
you
must
type
a
comma
in
place
of
the
parameter
in
the
command.
2.
The
increment
tells
the
computer
how
many
numbers
to
skip
between
line
numbers.
Even
if
the
current
line
numbers
are
erratically
spaced
(e.g.,
10,
15,18,
20,
30,
etc.),
the
RENUMBER
command
changes
all
line
numbers
so
they
are
evenly
spaced
(e.g.,
10,
20,
30,
40,
50,
etc.).
If
you
omit
this
parameter,
type
a
comma
in
its
place.
3.
You
can
give
any
number
in
the
program
as
the
first
line
to
be
renumbered.
This
parameter
lets
you
choose
a
line
other
than
the
first
one
in
the
program
to
begin
renumbering.
Examples:
RENUMBER
100
Makes
100
the
new
first
line
number.
The
defaults
for
incre
ment
and
first
line
number
to
be
renumbered
are
accepted.

Other manuals for Commodore Plus 4

Related product manuals