Roger:

Well - it kinda goes like this ...

You want to check conditions (expressions) for true or false ...

case "condition" or "condition" or "condition"

or one can read it like this...

if "condition" or "condition" or "condition"

Using "IF" statements instead - the first condition is perfectly valid ...

if "$ipad" = "45"

then you have your "OR", then kix reads the second part of your expression like this ...

if "46"

and the third, like this ...

if "48"

These last two pieces of the case statement will always evaluate TRUE - and because of the "OR" - the entire case expression will always evaluate TRUE.

Did that make sense - because if it did - will you explain it to me ?

Shawn.

One last thing - you may wonder why "45" is always TRUE - well any non-empty string is interpreted as TRUE - "" is FALSE.


[This message has been edited by Shawn (edited 27 November 2000).]