[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lexical environments
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 3 Feb 2010 00:08:19 -0200
> > in t do
> > local x,y,z = x,y,z
> > ...
> > end
> >
>
> But you'd have to declare x,y,z and locals outside the lexical scope:
No. That's why I wrote "..." to mean a block of code that uses x,y,z.
> local x , y , z
> in t do
> x , y , z = x , y , z
> end
>
> wait... does that work?
It "works" but does nothing.