>> I know there must be a way to do the following:
>> 
>> if (($foobar > 3) || ($foo="t" && $bar = "b"))
{print
>> "yup"}

>if (($foobar > 3) || ($foo eq "t" && $bar eq "b"))
{print "yup"}
>
>Your problem is that a single '=' is assignment, not
>equality. '==' could also be used 
>instead of 'eq'.
>
>-- 
>Andrew Gaffney

I can't believe i did that ... I just explained to
someone else that pitfall .... Just brain dead today I
guess.

Thanks!


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to