From: Joey Gibson Date: 2003-09-03T21:06:54+09:00 Subject: Re: Possible to make compound if statements... On Wed, 3 Sep 2003 13:54:45 +0900, Hal Fulton wrote: ||| History lesson: 'and' and 'or' and 'not' are used in ||| languages like BASIC, Algol, and Pascal. && and || and ! ||| are used in languages like C, C++, and Java. Ruby happens ||| to know both forms. Also 'and' and 'or' have "extremely low precedence" (according to Ruby in a Nutshell) so constructs using them _may_ behave differently than those using && and || and my need parentheses to clear up ambiguities. I don't have any good examples, but I'm sure someone does. Joey -- Dean saor, dean saor an spiorad. Is seinn d'orain beo. http://www.joeygibson.com http://www.joeygibson.com/blog/life/Wisdom.html