Specifications

Commands - 97
RENUM
Command
SYNTAX: RENUM [newline] [,increment] [,oldline]
PURPOSE: To renumber program lines.
REMARKS: newline is the first line number to be used in the new sequence. The default is 10.
increment is the increment to be used in the new sequence. The default is 10.
oldline is the line in the current program where renumbering is to begin. The default is the first line
of the program.
RENUM also changes all line number references to reflect the new line numbers. RENUM may not
be used to change the order of program lines. Nor can it be used to create line numbers greater than
65,529.
RELATED: AUTO
EXAMPLE: RENUM
Renumbers the entire program. The first new line number will be 10. Lines will increment by 10.
RENUM 300,50
Renumbers the entire program. The first new line number will be 300. Lines will increment by 50.
RENUM 1000,1,20
Renumbers the lines from 20 up so they start with line number 1000 and increment by 1.
ERROR: <Line not found> – newline or oldline does not exist
<Subscript out of range> – if attempt is made to RENUM past line 65,529