
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.
Содержание Basic Interpreter Basic 80
Страница 1: ...5IA iC intc tit tcl c t ...
Страница 2: ......
Страница 6: ... ...
Страница 10: ......
Страница 26: ......
Страница 33: ...2 5 Intentially left blank ...
Страница 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Страница 40: ...410 DEF FNAB X Y XA3 YA2 420 T FNAB I J Line 410 de ines the function function is called in line 420 ...
Страница 112: ......
Страница 136: ......
Страница 140: ......
Страница 160: ......
Страница 165: ......
Страница 166: ......
Страница 174: ......
Страница 176: ......
Страница 182: ......
Страница 184: ......
Страница 190: ......