From: David Alan Black Date: 2001-03-24T01:22:01+09:00 Subject: [ruby-talk:13146] Re: How would Ruby say this? On Sat, 24 Mar 2001, Dave Thomas wrote: > David Alan Black writes: > > > > if res = getValue("What's the frequency..") > > > process ... > > > else > > > no input > > > end > > > > Although... 1.6.3 still gives the "found = in conditional, should be ==" warning > > (with -w). > > I think that warning is only given if the value being assigned is a > literal: Whoops, I tested in a lazy way (ruby -we "if a = 1 ...") David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav