www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Dynamic scope in D

reply "Dennis Ritchie" <dennis.ritchie mail.ru> writes:
Good time of day.
Tell me, please, does D dynamic scope? If there is, prevalite, 
please, an example of it's use, or give a link where you can read 
about dynamic scope.
Feb 25 2015
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
No, D's variable scoping is always lexical.
Feb 25 2015
parent "Dennis Ritchie" <dennis.ritchie mail.ru> writes:
On Wednesday, 25 February 2015 at 16:04:54 UTC, Adam D. Ruppe 
wrote:
 No, D's variable scoping is always lexical.
Thanks.
Feb 25 2015