[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Multiple assignments to the same variable
- From: "Martijn van Buul (Ellips B.V.)" <martijn.van.buul@...>
- Date: Wed, 14 Jul 2010 10:17:13 +0200
> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-
> bounces@bazar2.conectiva.com.br] On Behalf Of Petite Abeille
> Sent: Tuesday, July 13, 2010 9:21 PM
> To: Lua list
> Subject: Re: Multiple assignments to the same variable
>
>
> On Jul 13, 2010, at 8:34 PM, Romulo wrote:
>
> >> Usually we consider that what the manual does not say is undefined.
> >
> > Or overlooked.
>
> Same difference.
Is that so? The manual doesn't say in what direction statements are
executed; all it says that they are executed sequentially. I always
thought that it was implied that they are executed top-to-bottom,
left to right, but now I realize it is undefined behavior since this
is not explicitly mentioned in the manual.
I guess I should start writing palindrome-programs, just in case
lua 6 decides to start executing in reverse.