lua-users home
lua-l archive

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


function pack( ... )
    local result = { ... }
    result.n = select( '#', ... )
    return result
end

unpack( t, 1, t.n )