in reply to Testing for one of three conditions

eric256's solution is probably the best for your actual situation. I'd go with his.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: Testing for one of three conditions