|
Oops, I should've taken a closer look at the code. Sorry. Check Joe Andresen's post in this topic, it has an easier solution. On 23/01/2010 13:52, Florian Weimer wrote:
* Andre Leiradella:clone = function (t) local nt={}; system_lib.for_each(t, function(i, v) nt[i] = v end) return nt endif system_lib.type_of(root) ~= system_lib.TABLE thenWhat is system_lib? (Just in case Joe hasn't got it, either.)