Re: Livingston vs. The real world. (fwd)

Owen DeLong (owen@delong.sj.ca.us)
Sat, 1 Jun 1996 02:10:51 -0700

>
> Once upon a time Carl Rigney shaped the electrons to say...
> >My first programming language having been BASIC, I agree it would be
> >neat if you could do "set filter foo 1.5" and have it go between rules
> >1 and 2 and automatically renumber, but I can live without it.
>
> Hmm... Do we collapse filter rules?
>
> What if we allow the old BASIC trick of numbering:
> 100 blah
> 200 blah
> 300 blah
>
> So that you can insert rules like 101, 102, etc. I started out in
> AtariBASIC... ;-)
>

The problem with that theory is that the current implementation doesn't actually
store line numbers in the filters in the PM. The filters are simply stored
as a sequential list. Line numbers are a figment of the CLI's imagination.

If you don't believe me, just try deleting lines 5, 7, and 9 from a filter
by typing:

set filter blah 5
set filter blah 7
set filter blah 9

You'll find that you actually delete 5, 8, and 11.

Owen