lua-users home
lua-l archive

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


Interesting lecture:

http://lua-users.org/wiki/AssignmentTutorial

Alexandre

--- Original Message ---

From: "Thiago L." <fakedme@gmail.com>
Sent: 14 September 2014 19:33
To: "Lua mailing list" <lua-l@lists.lua.org>
Subject: Let's talk about order of assignment

For example:

Lua 5.2.3  Copyright (C) 1994-2013 Lua.org, PUC-Rio
> setmetatable(_ENV, {__newindex = function(t,k,v) if k == "out" then io.write(v) end end}) out,out,out = "what","the","fuck"
fuckthewhat>