I remember when I upgraded the ROMs in my C1P
and got a RENUM command. Ah, those were the
days.
There were two common tricks that renumber commands never dealt with:
Are you suprised? To do that is decidedly non-trivial.... Anyway, a lot
of BASICs, including most (all?) Microsoft ones don't allow computed line
numbers like this. ON...GOTO existed, but renumbering that is quite easy
(and was normally done by a renumber command).
No, I'm UNsurprised. I wouldn't expect _any_ renumber program to deal with
the complicated cass. I suppose the problems could be solved, but only by
completely analyzing the programs in the worst case (which is pretty
difficult even now). I just wanted to point out that BASIC line numbers or
renumbering routines have this weakness.
-- Derek