|
2017-03-05 16:56 GMT+02:00 Soni L. <fakedme@gmail.com>: > Have you ever tried: > ... > function myfile:write(...) > local x = #self ... No ... but I habitually put in my programs local append = function(tbl,obj,...) if ... then obj = obj:format(...) end table.insert(tbl,obj) end