From: matz@... (Yukihiro Matsumoto) Date: 2003-02-02T00:19:19+09:00 Subject: Re: Local variables & blocks Hi, In message "Re: Local variables & blocks" on 03/02/01, Gavin Sinclair writes: |Sorry for being so dense. Can you confirm the propsed output of the |following code? I swear I have read every post in this thread, and not |really understood. Sorry for being terse. Ask me anything if you have question. | [1,2,3].each { |x| thisval = x } | puts x -:2: undefined local variable or method `x' for # (NameError) matz.