lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I hadn't realized that when an upvalue is created, it is recursively
created up the tree of functions until the function defining the local
variable is reached. I am not sure of the question I am asking ... I
was wondering whether upvalues have function scope, i.e. each function
has a list of unique upvalues where each upvalue is identified by name
only.

Hope the question makes sense.

Regards
Dibyendu