|
So, you can try this: j = 1e4co = coroutine.create(function() t = {} for i = 1, j do t[i] = i end return t end)
b, tt = coroutine.resume(co) print(b,unpack(tt)) It works im my computer. []'s Marco Antonio Abreu IT Quality Systems mabreu@itquality.com.br http://www.itquality.com.br