[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Functions with ACLs
- From: Peter Shook <pshook@...>
- Date: Mon, 2 Sep 2002 12:04:29 -0400
> 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
http://lua-users.org/lists/lua-l/2002-08/msg00196.html
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