|
function table.compare(t1,t2)if table.len(t1)~=table.len(t2) then return false; endtable.foreach(t1,function(k,v)if v~=t2[k] and type(v)~='table' thenreturn false;elseif v~=t2[k] thenreturn table.compare(v,t2[k])endend)return true;end