The first example would be efficient
an IF statement can only evalute a single expression but as you can see expressions can be joined with logical operators (AND, OR, XOR) and paranthesis can be used for the evaluation order
it's ((y > z) and (z > 4)) BTW If my boolean algebra is up to speed 
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|