lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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