From: matz@... (Yukihiro Matsumoto) Date: 2002-05-28T18:27:01+09:00 Subject: Re: confused about scope of block parameter Hi, In message "confused about scope of block parameter" on 02/05/28, "k" writes: | foo = "Outer" | (lambda {|foo| print foo}).call("Inner") | print foo Unlike Lisp, Ruby's block parameters does not override outer variable names. They are just assignments if names already exists. It's been discussed before, and alternativeg form of parameter declaration, e.g. lambda{ print foo}, is proposed (but not yet implemented). matz.