lua-users home
lua-l archive

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


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 end
	if system_lib.type_of(root) ~= system_lib.TABLE then
What is system_lib?  (Just in case Joe hasn't got it, either.)