From: ben jubb Date: 2001-05-24T00:44:27+09:00 Subject: [ruby-talk:15594] Re: Parse Error 23/05/2001 11:30:07, Christian Szegedy wrote: >Guy Decoux wrote: > >> Not valid, ruby don't understand 'a == b == c' > >I would have almost answered the same. > >My question is: > >Shouldn't it be parsed as (a==b)==c, which, of course >would produce a runtime error but no parse error...? > but its not even a runtime error. (1 == 1) == 1 evaluates as false, as it should (true != 1). || benjamin w jubb - montreal, quebec, canada ||=========================================== || fight for freedom || fight for CANADIAN WORLD DOMINATION || http://standonguard.com