Content deleted Content added
Was (reduced): v. be not the global scope. Tags: Mobile edit Mobile web edit |
added short description, links Tags: Mobile edit Mobile app edit iOS app edit |
||
Line 1:
{{Short description|Programming 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 In [[Lua (programming language)|Lua]] they are called the ''upvalues'' of the function.<ref>''[http://www.lua.org/pil/contents.html Programming in Lua (first edition)],'' "[http://www.lua.org/pil/27.3.3.html 27.3.3 – Upvalues]"</ref>
|