From: Brian Candler Date: 2003-03-22T08:10:14+09:00 Subject: Re: Expression results On Sat, Mar 22, 2003 at 07:39:02AM +0900, Hal E. Fulton wrote: > > > e6 = (1 > > > + 2); > > I don't know why this is 2. > > > > I agree, this is very odd. > > What's going on? Seems to be same as: e6 = (1; +2) def f1 puts "in f1" 99 end def f2 puts "in f2" 123 end a = (f1 + f2) puts a Produces: in f1 in f2 123 and is the same if you do a = (f1 f2) Regards, Brian.