lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > 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.