[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: what's wrong with this loop syntax?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 8 Jan 2007 19:15:38 -0200
> So do you have any idea why I cannot use the more compact syntax that I
> first trieed?
An assignment in Lua is not an expression, it's a statement.
See http://www.lua.org/manual/5.1/manual.html#2.4.3 and
http://www.lua.org/manual/5.1/manual.html#8
If assignment were an expression, what would be an interpretation for multiple
assignment?
--lhf