Basic question on using '&&' vs 'and'.  I see that '&&' has higher precedence
than 'and', but why does

  print 1 && 1 && 0;
  print "\n";
  print 1 and 1 and 0;
  print "\n";

return 
  0
  1

I would have expected both statements to return 0.

Thanks


Jeff


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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

Reply via email to