[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: getfenv question
- From: "Leandro Candido" <enclle@...>
- Date: Thu, 18 Dec 2003 06:06:19 -0200
Hello Mark,
Can you better explain what you want? Are you making this in C or in
Lua? Are you using the debug api?
What you want is to limit the access for getfenv?
The
God's Peace,
Leandro.
----- Original Message -----
From: "Mark Hamburg" <mhamburg@adobe.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Wednesday, December 17, 2003 11:14 PM
Subject: getfenv question
> Is there a way other than wrapping things in pcall to tell what the
maximum
> level I can pass to getfenv is?
>
> I'm trying to implement pseudo-dynamic scoping by searching up the call
> chain for the first function environment referencing a particular
variable.
>
> Mark
>
>