[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: setfenv question
- From: Rici Lake <lua@...>
- Date: Sat, 23 Sep 2006 19:55:48 -0500
On 23-Sep-06, at 5:14 PM, D Burgess wrote:
I second the thanks. I would also like to lnow the answer to Dons
On 9/24/06, Don Hopkins <firstname.lastname@example.org> wrote:
Thanks for explaining how lua_setfenv effects threads.
I have a question like the one about threads: is the environment of a
userdata used for anything other than user defined purposes?
Section 2.9 of the 5.1 reference manual states:
"Environments associated with userdata have no meaning for Lua. It is
only a convenience feature for programmers to associate a table to a
I've put a small tutorial (or at least example) on the Wiki at
Also see some musings about Userdata environment tables at