In message "[ruby-talk:12470] Re: FEATURE REQUEST: 'my' local variables"
    on 01/03/12, Tammo Freese <tammo.freese / offis.de> writes:
>At 18:51 12.03.01 +0900, GOTO Kentaro wrote:
>>In message "[ruby-talk:12457] Re: FEATURE REQUEST: 'my' local variables"
>>    on 01/03/12, Yukihiro Matsumoto <matz / zetabits.com> writes:
>>>|May I show yet another syntax?
>>>|
>>>|  loop {|a, b, c; d, e|  ...  }
>>>
>>>Could you tell me the semantics?
>>
>>I'm sorry for my wrong example "loop".  I should not use "loop":
>>
>>Parameters on the left side of the semicolon declare shadowed
>>variables with their initial values nil (see below) while params on
>>the right side of the semicolon are just ruled by the current model.
>>
>>For example, loop{|a| ... } means as same as the current model.  In
>>loop{|a;b| b = a; .... }, b is a shadowed counter.
>
>But b is on the RIGHT side of the semicolon???

Oops!  

Parameters on the right side of the semicolon declare shadowed
                  ^^^^^
variables with their initial values nil (see below) while params on
the left side of the semicolon are just ruled by the current model.
    ^^^^
-- Gotoken