[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: upvalues: doc suggestions and another opinion
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 26 Apr 2000 11:54:07 -0300 (EST)
In a previous message, I wrote that the local variables in *all* enclosing
functions can be used as upvalues. This is, of course, false! Only the
locals in the immediately enclosing function can be used as upvalues.
The reason is that locals that are located higher up may not exist when the
function is created. I'm sorry for the noise.