New-fangled languages (was: BASIC

From: Derek Peschel <dpeschel_at_u.washington.edu>
Date: Thu May 13 23:43:00 1999

Tony Duell wrote:
> > > 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
Received on Thu May 13 1999 - 23:43:00 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:32:24 BST