lua-users home
lua-l archive

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


> It works for j = 9998, but don't for 9999 ou greater, and doen't matter 
> the initial value, like 0, -6 or 1000.
> 
> It's a kind of limit with Unpack?

No, because the program below works:

 j = 1e4
 t = {} for i = 1, j do t[i] = i end
 f = function() return unpack(t) end
 print(f())