lua-users home
lua-l archive

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

On Thu, 1 Nov 2001, John Batty wrote:

> > Following the new visibility rules, the `a' is visible inside the enclosed
> function.
> Is 'a' readonly inside the enclosed function (as with upvalues)?
> Or can you modify the value of 'a' and have it changed outside the function?

Fully visible. You can modify it and have it changed outside (well, it is
the same variable, after all).

-- Roberto