From: matz@... (Yukihiro Matsumoto) Date: 2003-08-21T11:59:31+09:00 Subject: Re: for/in loop Hi, Sorry for confusion. In message "Re: for/in loop" on 03/08/21, Olivier Nenert writes: |I think kurt was asking "which one of the two scenarios would be fixed by a |new scoping rule ?" First of all, I shouldn't have write "would". I meant "will". Then, the answer to Olivier's (and Kurt's) question is: the latter (i.e. second one will output 3). The variables-first-appear-in-a-block-are-local-to-the-block rule will be obsoleted. Local variables will be local to the block only when they appear in the block parameter list. matz.