Originally Posted By: Richard H.
That's not quite right, *any* expression that can be evaluated as true/false is acceptable. You may be thinking of VB which mandates a single value in each CASE to compare against an expression declared at the start of the construct.


Ah, right again as usual Richard. I was confusing it with VB.
I spend too much time nowadays on VB.Net and PS.