lua-users home
lua-l archive

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


2016-08-07 10:55 GMT+02:00 Dirk Laurie <dirk.laurie@gmail.com>:
> 2016-08-07 6:58 GMT+02:00 Tim Hill <drtimhill@gmail.com>:


>    local len = #setmetatable(t)
local len = #setmetatable(t,nil)

Sorry, explicit nil needed.