lua-users home
lua-l archive

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

>  To be honest I can't figure out why userdata values get an environment
>  by default because this seems counterintuitive (seeing as how userdata
>  doesn't use the environment table for anything)

not sure i understand your concern, but see
for an example usage of userdata environments.