[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Definion of 'for' statement in the manual
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 25 Sep 2015 10:13:46 -0300
> My question:
> Why does Lua 5.3's reference does "var = var - step" instead of simply
> moving the "var = var + step" after "block" (as in Lua 5.2)?
This is how it is implemented, and both ways can give different results.
(That it is why we do not like to specify things with code, it gives too
much details that should be left open.)