non-local_variable
Snippet from Wikipedia: Non-local variable

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.

Variables: Python Variable, Variable (computer science), Unassigned Variables, Variability, Mutable-Mutability, Immutable-Immutability, Constant-Constancy, Named object, Variable Declaration, Variable Definition, Control Variable (Programming), Non-Local Variable, Temporary Variable, Variable Interpolation, Scalar (Mathematics), Variable (Mathematics), Variable Topics. (navbar_variables - see also navbar_math, navbar_programming)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


non-local_variable.txt · Last modified: 2024/04/28 03:47 (external edit)