[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: AW: AW: AW: AW: non-locals are only sometimes global?
- From: "Warlich, Christof" <christof.warlich@...>
- Date: Wed, 21 Jul 2010 15:58:05 +0100
> The loop and the function parameters serve as declarations for the
> variables. Note that a local declaration outside the scope of those
> constructs is a declaration of a different variables. Global-by-default
> only applies to undeclared variables. The "local" statement only exists to
> provide declarations for variables that can't be readily defined via other
> constructs like loops and functions.
Thanks a lot for his comprehensive explanation, and honestly, sorry for the noise.
- References:
- non-locals are only sometimes global?, Warlich, Christof
- Re: non-locals are only sometimes global?, steve donovan
- AW: non-locals are only sometimes global?, Warlich, Christof
- Re: AW: non-locals are only sometimes global?, Peter Odding
- AW: AW: non-locals are only sometimes global?, Warlich, Christof
- Re: AW: AW: non-locals are only sometimes global?, Peter Odding
- AW: AW: AW: non-locals are only sometimes global?, Warlich, Christof
- Re: AW: AW: non-locals are only sometimes global?, Matthew Wild
- AW: AW: AW: non-locals are only sometimes global?, Warlich, Christof
- Re: AW: AW: AW: non-locals are only sometimes global?, David Kastrup
- AW: AW: AW: AW: non-locals are only sometimes global?, Warlich, Christof
- Re: AW: AW: AW: non-locals are only sometimes global?, Javier Guerra Giraldez
- Re: AW: AW: AW: non-locals are only sometimes global?, Mark Hamburg