RENUMBER first, incr
RENUMBER first, incr, start
Renumber the program currently held in memory including all references to line numbers in commands such as GOTO, GOSUB, ON, etc.
‘first’ is the first number to be used in the new sequence. Default is 10.
‘incr’ is the increment for each line. Default is 10.
‘start’ is the line number in the old program where renumbering should commence from. The default is the first line of the program.
This command will first check for errors that may disrupt the renumbering process and it will only change the program in memory if no errors are found. However, it is prudent to save the program before running this command in case there are some errors that are not caught.
Note: RENUMBER is only in 4.3 and earlier. RENUMBER was removed in 4.3A.