From: 7stud -- Date: 2008-03-05T00:12:40+09:00 Subject: Re: and statement Lionel Bouton wrote: > 7stud -- wrote: >> result = (x=20) >> puts result #20 >> >> >> result = true and x=20 >> puts result #true > > Precedence... > > result = (true and x = 20) Ah. Thanks. -- Posted via http://www.ruby-forum.com/.