lua-users home
lua-l archive

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




On Thu, Oct 10, 2019, 06:21 Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:

Similarly, the control variable in the 'for' loop should be hidden like
the state, and not the first variable declared in the loop.

It could be implicitly declared as a "local <const>" variable, so you can't assign to it.