in reply to Conditional Elimination

If i got it right, in the second clause you want to get a range for the condition to be valid(88 to 90). In which case you could replace:  ($p == 88 || $p == 89 || $p == 90 || $p == 91) For:    (88<= $p && $p <=90)
And that sould do what you need, since you seem to need to do the same thing for whatever value of $p between 88 and 90. Hope it helps.

Replies are listed 'Best First'.
Re^2: Conditional Elimination
by JavaFan (Canon) on Aug 30, 2011 at 11:36 UTC
    What if $p = 91? Or $p = 88.7?