From: "David A. Black" Date: 2004-10-30T03:18:20+09:00 Subject: Re: Another scrach on head Hi -- On Sat, 30 Oct 2004, Zach Dennis wrote: > ># 2 > >if (a) > > block # 2 > >end > > > ># 6 > >if (not a.nil?) > > block # 6 > >end > > > #2 and #6 will always evaluate to the same result. Almost always :-) irb(main):004:0> a = false irb(main):005:0> if (a); puts 2; end => nil irb(main):006:0> if (not a.nil?); puts 6; end 6 => nil David -- David A. Black dblack@wobblini.net