lua-users home
lua-l archive

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


2014-03-10 15:36 GMT+02:00 Camilo Bravo Valdés <faranwath@gmail.com>:

> Is the concept of upvalues the only current alternative to the C
> function environments feature previously available in Lua 5.1?

There's a fourth parameter to "load" that can be used to set the
environment of the function you are about to create.