Subject: Re: Problem with "except" operator
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 11 Feb 2009 15:32:02 GMT
|
> The rule I mention there is "never use != where both sides are
> sequences of more than one item"
that rule is a bit complicated and easy to break as the usual problem is
that one of the arguments evaluates to a sequence of more than one when
you expect or "know" that it wont:-)
So I think it's easier to use a simpler rule:
never use !=
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|