[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Collecting multiple return values
- From: Steven Johnson <temujin98007@...>
- Date: Wed, 26 Sep 2007 21:04:25 -0700 (PDT)
This ought to do it:
local function mySelector(result1, result2, ...)
return result1, result2, { ... }
end
status, op, args = mySelector( the_function() )
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/