[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua registry, environment, and threads.
- From: Leo Razoumov <slonik.az@...>
- Date: Sat, 9 Jan 2010 12:58:54 -0500
On 2010-01-09, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Sat, Jan 9, 2010 at 3:26 PM, Leo Razoumov <slonik.az@gmail.com> wrote:
> > in {x = 1, y = 10, print=print} do print(fn()) end -- 11
>
>
> Afraid not!
>
> > in {x=1,y=10,print=print,fn=fn} do print(fn()) end
> [string "return x + y"]:1: attempt to perform arithmetic on global 'x'
> (a nil value)
>
Then I want my setfenv back!! And I mean it!!
--Leo--
- References:
- Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Edgar Toernig
- Re: Lua registry, environment, and threads., Mark Hamburg
- Re: Lua registry, environment, and threads., Leo Razoumov
- Re: Lua registry, environment, and threads., steve donovan
- Re: Lua registry, environment, and threads., steve donovan
- Re: Lua registry, environment, and threads., Leo Razoumov
- Re: Lua registry, environment, and threads., steve donovan
- Re: Lua registry, environment, and threads., Leo Razoumov
- Re: Lua registry, environment, and threads., steve donovan