lua-users home
lua-l archive

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

On Mar 20, 2010, at 1:54 AM, Asko Kauppi wrote:

> If you are interested in copying functions, the Lanes code can do that. It also copies upvalues.
> -asko

Does it also copy the environment? How does it decide where to stop? For example, if I stick math.sin into a local variable math_sin and reference this as an upvalue in the function I'm passing, what does it do?