lua-users home
lua-l archive

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

On 2/23/06, Chris <> 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)

return 'x', unpack(results, 3)