lua-users home
lua-l archive

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


Hello Fabio,

Wednesday, April 26, 2006, 6:14:25 PM, you wrote:

FM> You can put the local variables in a table, and set it as the
FM> envinronment of the function that loadstring returns. If you also want
FM> the current global environment, you can set the global environment as
FM> the __index metamethod of the table where you put the locals.

thank you very much!

-- 
Best regards,
 Dmitriy                            mailto:iassenev@gsc-game.kiev.ua