From: Chad Perrin Date: 2006-08-02T05:51:07+09:00 Subject: Re: I thought this was the one that worked? On Wed, Aug 02, 2006 at 05:42:59AM +0900, ara.t.howard@noaa.gov wrote: > On Wed, 2 Aug 2006, Chad Perrin wrote: > > >On Wed, Aug 02, 2006 at 05:28:40AM +0900, ara.t.howard@noaa.gov wrote: > >>On Wed, 2 Aug 2006, Chad Perrin wrote: > >>> > >>>It's not lexical scoping if that "a" variable is separate from the "a" > >>>variable in the enclosing scope. > >> > >>yes. it is, because there is no 'a' in the enclosing dynamic scope: > >> > >> harp:~ > cat a.rb > >> a = 42 > > > >If there's no "a", then perhaps you can tell me what the hell that is. > > it's not that there is no 'a', it's that there is no enclosing scope. the > beginning of the 'def' introduces a new scope that is not 'contained' by the > previous one. this is basic ruby. . . . What does that have to do with anything? -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] This sig for rent: a Signify v1.14 production from http://www.debian.org/