lua-users home
lua-l archive

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


On 1 March 2015 at 20:19, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> Sorry... The "untyped" assignment to 'ra' is safe. The one to 'ra + 3'
> (to the external index) is not; FORPREP does not set this value and,
> moreover, the loop body can change it to any value. (The behavior is
> undefined when the code does such changes, but Lua should not crash.)
>

Okay, understood.

Thanks