>>>>> "D" == Dave Thomas <Dave / PragmaticProgrammer.com> writes:

D> Block has access to existing locals. Locals created in the block are
D> lost on block exit.

 What do you call block exit ?

D>   n = 123
D>   3.times {{
D>     puts n
D>     n += 2
D>   }}

 For me, there are 3 block exit in this case.

D>   puts n

D> will output '123, 125, 127, 123'


Guy Decoux