From: Guillaume Cottenceau Date: 2001-06-02T05:48:13+09:00 Subject: [ruby-talk:16157] Re: Strange idea... exporting from a scope Stephen White writes: [...] > Eg: > > i = 123 > j = 10 > (1..10).each {|i| > # accessing j at this point would be an error Impossibility to use anything from the outer scope?? > j = i * 5 > k = i * 10 > } > p [i, j, k] -> [123, 10, accessing k is an error] -- Guillaume Cottenceau - http://mandrakesoft.com/~gc/