-
Notifications
You must be signed in to change notification settings - Fork 0
RENUM
Andrew Owen edited this page May 30, 2023
·
2 revisions
RENUM [new|.] [, [old|.] [, increment]]
Replaces the line numbers in the program by a systematic enumeration starting
from new and increasing by increment. If old is specified, line numbers less
than old remain unchanged. new, old are line numbers; the dot . signifies the
last line edited. increment is a line number but must not be a dot or zero.
The following keywords can reference line numbers, which will be renumbered by
RENUM: GOSUB, GOTO, LIST, RESTORE, RUN.
- Any of the parameters is not in
[0 to 65529]: Syntax error. - Any of the newly generated line numbers is greater than
65529: Illegal function call. The line numbers up to the error have not been changed. -
incrementis empty or zero: Illegal function call. -
oldis specified andnewis less than or equal to an existing line number less than old: Illegal function call.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: