PURPOSE:
The RENUM statement renumbers the program in the workspace.
STATEMENT SYNTAX:
RENUM
NOTES:
1. Statement # 1 is never renumbered
2. At the start of a RENUM the 1st Statement # is 10 and the Increment is 10
3. REM statement can be used to change the next statement # and increment as follows:
REM Statement
Result on Statement # and Increment
100 rem 1000
Statement # is 1000 and Increment is 10
100 rem 1000,5
Statement # is 1000 and Increment is 5
4. If any part of the program cannot be renumber none of it is renumber and TCB(2) is set
to the Statement # that could not be renumbered.