From: matz@... (Yukihiro Matsumoto) Date: 2003-02-03T17:00:50+09:00 Subject: Re: Local variables & blocks Hi, In message "Re: Local variables & blocks" on 03/02/03, "Robert Klemme" writes: |Ok, then I did not get it right. I'll ask the other way round. What is the |proposed behavior of this: | |def blocktest(*args) | args.each do |arg| | foo = "yes" | end | | p foo |end | |blocktest(1,2,3) |blocktest() | | |If I do understand the thread correctly, 'foo' will not be local to the |block - just 'arg' will. So 'foo' will always be defined in 'blocktest()'. You're correct. Thank you for taking time to understand me. matz.