
Purpose:
Remarks:
RENUM
[[<new number>] [,[<old number>] [,<increment>]]]
Extended, Disk
To renumber program lines.
<new number> is the first line number to be used
in
the
new sequence.
The default is 10.
<old
number> is the line in the current program where
renumbering
is
to
begin.
The default is the
first line of the program.
<increment>
is
the
increment
to
be used in the new sequence.
The
default is 10.
RENCH also changes all
line
number
references
following
GOTO,
GOSUB,
THEN,
ON •••GOTO,
ON •••GOSUB and ERL statements to reflect the new
line
numbers.
If
a
nonexistent
line number
appears after one of these statements, the error
message
"Undefined
line
xxxxx
in
yyyyy"
is
printed.
The incorrect
line
number
reference
(xxxxx) is not changed by RENUM, but line number
yyyyy may be .changed.
RENUM cannot be used
to
change
the
order
of
program lines (for example, RENUM
15,30
when the
program has three lines numbered
10, 20
and
30)
or
to
create
line numbers greater than
65529.
An "Illegal function call" error will result.
Renumbers the entire program.
The first new line number
will be 10. Lines will
increment by 10.
RENUM
30G,,50
Renumbers the entire pro-
gram. The first new line
number will be
300.
Lines
will increment by 50.
RENUM
1000,900,20
Renumbers the lines from
900
up so they start with
line number
1000
and
increment by 20.
Summary of Contents for Basic Interpreter Basic 80
Page 1: ...5IA iC intc tit tcl c t ...
Page 2: ......
Page 6: ... ...
Page 10: ......
Page 26: ......
Page 33: ...2 5 Intentially left blank ...
Page 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Page 112: ......
Page 136: ......
Page 140: ......
Page 160: ......
Page 165: ......
Page 166: ......
Page 174: ......
Page 176: ......
Page 182: ......
Page 184: ......
Page 190: ......