Non-local variable
id:
non-local-variable-292-17864023
title:
Non-local variable
text:
In programming language theory, a non-local variable is a variable that is not defined in the local scope. While the term can refer to global variables, it is primarily used in the context of nested and anonymous functions where some variables can be in neither the local nor the global scope. In Lua they are called the upvalues of the function.
brand slug:
wiki
category slug:
encyclopedia
description:
In computer programming, a variable which is not defined in the local scope
original url:
https://en.wikipedia.org/wiki/Non-local_variable
date created:
date modified:
2022-05-12T00:08:13Z
main entity:
{"identifier":"Q7048954","url":"https://www.wikidata.org/entity/Q7048954"}
image:
fields total:
13
integrity:
14