[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Language Syntax
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 21 Jun 2014 15:51:56 -0300
> I could not find an explanation why the result of an attribuition isnt
> the attribuition itself, just like in C
In Lua, assignment is *not* an expression, unlike in C.
Expressions are listed here and do not include assignments:
http://www.lua.org/manual/5.2/manual.html#3.4