lua-users home
lua-l archive

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

On Sat, Jun 21, 2014 at 11:51 AM, Luiz Henrique de Figueiredo
<> wrote:

> In Lua, assignment is *not* an expression, unlike in C.
> Expressions are listed here and do not include assignments:

setmetatable(_ENV, { __newindex = function (s, k, v) s[k] = v return v
end }) -- I like to dreaam!