[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Behaviour of 'set'
- From: Javier Guerra <javier@...>
- Date: Thu, 22 Oct 2009 09:55:08 -0500
On Thu, Oct 22, 2009 at 6:26 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> The behaviour I'm after would instead create a new key/value in the
>> inner scope if it didn't exist there already.
>
> Evaluate scripts in their own empty environment that have __index to the
> outer one. So you can read values from the outer scope but write only
> in the inner one.
note that that's exactly what module(name,seeall) does
--
Javier