From: Nat Pryce Date: 2002-09-25T00:17:48+09:00 Subject: Re: Why "and and or" Have Different Association from "&& and ||"? On Tue, 2002-09-24 at 15:46, Yukihiro Matsumoto wrote: > In message "Why "and and or" Have Different Association from "&& and ||"?" > on 02/09/24, William Djaja Tjokroaminata writes: > |We know that "&& and ||" have higher precedence than "and and or". But > |while "&&" has higher precedence than "||", why "and" and "or" have the > |same precedence, with left to right evaluation, I guess? > > Because english words "and" and "or" does not have precedence order. On the other hand, the english word "or" actually means "^" (exclusive or) rather than "||" (inclusive or). :-) Cheers, Nat. -- Dr. Nathaniel Pryce, Technical Director, B13media Ltd. Studio 3a, 22-24 Highbury Grove, London N5 2EA, UK http://www.b13media.com