On Sat, 2 Jun 2001, Guillaume Cottenceau wrote: > > (1..10).each {|i| > > # accessing j at this point would be an error > > Impossibility to use anything from the outer scope?? This isn't what's in place now. It's just what I was proposing. Within this world... Yes, if you use {}'s, you can't access variables in the outer scope. You can only pass parameters in and use the return value, like a proc/method. If you wanted to access variables in the outer scope, you could use the do/end block, which has flat scope. Eg: j = 10 (1..10).each do |i| # Can access j at this point k = 11 end # Can access k at this point -- spwhite / chariot.net.au