RENUMBER

by Kevin Maricz [Although the listing says James Mancz. JimG]



[There are several faults with this program as listed:                  ]

[* It doesn't alter GOSUB/GOTO numbers, so isn't really much use.       ]

[* If merged, the line numbers used would stick part of the routine     ]

[  at the start of the program and part at the end.                     ]

[* It stops when it finds line 9000, which may not exist.               ]

[* It assumes that a CHR$ 13 indicates end-of-line, not taking into     ]

[  account that an embedded binary number form might contain that value.]

[                                                                   JimG]



Basic renumbering routines are pretty useful things, especially when

you've got a mammoth program with totally inconsistent line-numbers

and you want to send it to er, Pitstop, to pluck a name out of the

blue. With Kevin Maricz's submission you just glue these few lines on

the end of the program. Wait a while! And what do you get? A totally

renumerated program. Brilliant.

