Re: changing the position of an element in an arrayby blazar (Canon)
|on Nov 17, 2005 at 13:29 UTC||Need Help??|
And what if no one of them matched? (Left as an exercise to the reader)
Update: it was a wonderfully neat solution (which is the reason why I posted it!) to another problem!!
Not just as neat:
And what if no one of them matched? (Left as an exercise to the reader ;-)
But then if you are sure in advance that one and only one element will match, here's a neat concise solution:
You can patch it so that it works also if the above conditions are not verified, but won't be just as elegant. (Also left as an exercise to the reader!)