lua-users home
lua-l archive

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


On 2/23/06, Chris <coderight@gmail.com> wrote:
Of course, why even remove the first two from the results table?  At some point something is working with the other values and it can just skip the first two.

That made me think, a substring style unpack could be useful.

unpack(results, index, length)

Like:
return 'x', unpack(results, 3)