Re: Set Intersection Code [message #68469] |
Mon, 02 November 2009 08:41 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Maarten wites:
> Hey, a new spelling for my name, I haven't seen this one before ;-)
Whoops! No wonder I can write err0r free code. :-(
Cheers,
David
|
|
|
Re: Set Intersection Code [message #68471 is a reply to message #68469] |
Mon, 02 November 2009 07:59  |
Maarten[1]
Messages: 176 Registered: November 2005
|
Senior Member |
|
|
On Nov 2, 2:54 pm, David Fanning <n...@dfanning.com> wrote:
> So, of course, my first e-mail this morning is from Maatin
> Sneep pointing out the obvious bug in the program: it doesn't
> work when both sets of integers are negative. Well, sure
> enough. And the error was in the original code and missed
> all these years, probably because I always obtained my
> integer sets from the WHERE function.
Hey, a new spelling for my name, I haven't seen this one before ;-)
I did find the bug by looking at teh code, and then constructing the
example. Of course the obvious use is to use the output of where as a
set, so in practice it may not have hurt many people.
Best,
Maarten Sneep
|
|
|