lua-users home
lua-l archive

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


Steven Johnson wrote:
This ought to do it:

local function mySelector(result1, result2, ...)
    return result1, result2, { ... }
end

status, op, args = mySelector( the_function() )

Indeed, it works! And the code is so much clearer. Thanks a lot.

Regards,
Ignacio Burgueño