30 
RENUM 
[KEYxl 
[,first 
line-num,incrementl 
RENUM COMMAND 
You can use 
the 
RENUM  (renumber) command 
to 
generate new statement numbers 
for 
all 
the 
BASIC statements 
or 
data 
in 
the work area.  Like the AUTO command, 
renumbering begins with 
0010 
and the increment 
is 
10, unless specified otherwise. 
In 
addition, 
all 
references 
to 
statement numbers 
in 
GOTO, I F, PRINT USING, 
GOSUB, GET, and 
MAT 
GET statements are changed 
to 
the 
new numbers. 
In 
function key groups (see 
LOAD 
Command), each key group 
is 
renumbered 
as 
if it 
is 
a separate work area, and 
is 
only renumbered 
if 
it 
is 
a BASIC program function. 
(RENUM does 
not 
alter 
the 
key group header record.) 
The syntax 
of 
the 
RENUM command 
is 
as 
shown: 
RENUM 
[KEYxl 
[,first 
line-num,incrementl 
where: 
KEYx specifies a key group 
(x 
= 0 
to 
9) 
to 
be renumbered. 
first line-num 
is 
an integer (1-9989) identifying 
the 
number 
at 
which renumbering 
will  begin.  If this number 
is 
not 
specified, a beginning number 
of 
0010 
and an 
increment 
of 
10 
are 
the 
default values. 
increment 
is 
an integer specifying the increment for succeeding 
statement 
numbers. 
If a beginning 
statement 
number 
is 
not 
specified, an increment cannot be specified. 
Notes 
About 
RENUM 
•  You must enter both a beginning statement number and increment, 
or 
you can 
enter neither. 
•  Statement numbers 9990-9999 are 
not 
altered 
by. 
a RENUM  command. 
•  An error will  occur 
if 
you 
try 
to 
renumber where a line number greater than 
9989 
will  be generated. 
./