lua-users home
lua-l archive

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


On 2/8/07, Andre Carregal <> wrote:
> Luiz Henrique de Figueiredo wrote:
> ...
> If you need those assignments to go into a table, setfenv after loadfile
> does it, as someone has already suggested.

Or just prepend


to the file and then load it. Should be safe enough, no?

    That's how I do it. I do not mind the global "config" table.