By the way, eq is for comparing strings, and == is for comparing numbers.
In reply to Re: condense conditional by ikegami in thread condense conditional by mdidomenico