From: "W. Kent Starr" Date: 2001-03-13T10:30:59+09:00 Subject: [ruby-talk:12536] Re: FEATURE REQUEST: 'my' local variables On Monday 12 March 2001 08:36, Amos wrote: > >>>>> On Mon, 12 Mar 2001 18:57:52 +0900, > >>>>> Tammo Freese (tf) writes: > >> > >> For example, loop{|a| ... } means as same as the current model. In > >> loop{|a;b| b = a; .... }, b is a shadowed counter. > > tf> But b is on the RIGHT side of the semicolon??? > > which indicates the concern I'd have for such a syntax. It would be > too easy to forget which side is which.... And real hell to debug! :-) Regards, Kent Starr elderburn@mindspring.com