lua-users home
lua-l archive

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

> But there's a new question. How can I pass arguments to a function I
> created using loadstring?

Currently, the best you can do is change the table of globals for the 
function returned by loadfile or loadstring as Roberto suggests in

It would be nice if you could either pass a table of globals to the function, 
or get the arguments in a special variable like 'arg'.

- Peter