programming languages - Referencing environment and scope -
All,
In any programming language, how is the referenced environment dependent on scoping? That is, it is necessary to have a static referenced environment in a static scooped language?
Regards, Dark
Yes. Referenced environment is a collection of variables that can be used in a stable scopid language, you can only reference the variable in the static context environment.
A function in a stable scod language is dynamic ancestors (i.e. its callers), but it can not reference any variable declared in that ancestor.
Comments
Post a Comment