From: Robert Klemme Date: 2003-01-30T22:01:45+09:00 Subject: Re: Local variables & blocks Just to make sure: From what I read in this thread there are quite some situations which could be problematic with exporting a variable from a block to its enclosing scope. Are all these situations properly regarded? I still feel a unwary about this change... Regards robert "Yukihiro Matsumoto" schrieb im Newsbeitrag news:1043856555.207520.16066.nullmailer@picachu.netlab.jp... > Hi, > > In message "Re: Local variables & blocks" > on 03/01/29, Mauricio Fern�ndez writes: > > |To summarize: > | '=' refers to variables in the current method / class scope. > | ':=' refers to local vars > | block arguments are assigned with ':=' > | in case of shadowing a warning is issued. > > I may drop ':=' part, i.e. > > * block parameters are local to the block > * shadowing cause warnings > * no other way to make block local variables > > matz. >