lua-users home
lua-l archive

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


"Javier Guerra" <javier@guerrag.com> writes:

> On 11/8/07, Mark Hamburg <mhamburg@adobe.com> wrote:
>> However, then the functions can't generally see the necessary upvalues.
>
> that's why i usually do use parameters and/or more levels of local
> scoping (surrounding some functions and their shared local vars
> (upvalues) with do...end)

Seems like the right thing to do.  But it means that the approach is
less attractive/feasible as a general technique.

-- 
David Kastrup