Steve Gilbert wrote:
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


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



Reply via email to