Also, "false" would be transformed to "nil": Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio =tostring( false or nil ) nil
Also, "false" would be transformed to "nil": Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
=tostring( false or nil )
nil
But your test isn't fair: Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
=tostring(nil or false)
false Regards, Tomás