[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: FORLOOP question
- From: Dibyendu Majumdar <mobile@...>
- Date: Sun, 1 Mar 2015 21:02:43 +0000
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