Non-local variable: Difference between revisions

Content deleted Content added
added short description, links
Tags: Mobile edit Mobile app edit iOS app edit
mNo edit summary
Tags: Mobile edit Mobile app edit iOS app edit
Line 1:
{{Short description|ProgrammingIn computer programming, a variable which is not defined in the local scope}}
 
In [[programming language theory]], a '''non-local variable''' is a variable that is not defined in the local [[Scope (computer science)|scope]]. While the term can refer to [[global variable]]s, it is primarily used in the context of [[nested function|nested]] and [[anonymous function]]s where some variables can be in neither the [[local scope|local]] nor the [[global scope]].