in reply to Re: Tricky scope problem
in thread Tricky scope problem
Wow! Learn something new every day. I'm glad I've never run into this. It would have driven me nuts.
So with that being said, do you have any idea why this is implemented in such a way? Why does it become "implicitly local to the loop", hiding the global var's value? This is completely unexpected (at least to me), and doesn't really seem like the logical thing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tricky scope problem
by AnomalousMonk (Archbishop) on Apr 11, 2009 at 00:33 UTC | |
by lostjimmy (Chaplain) on Apr 11, 2009 at 15:42 UTC | |
|
Re^3: Tricky scope problem
by kennethk (Abbot) on Apr 11, 2009 at 13:19 UTC | |
by lostjimmy (Chaplain) on Apr 11, 2009 at 15:50 UTC |