[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: help about pattern-matching
- From: Miles Bader <miles@...>
- Date: Wed, 08 Jun 2011 18:28:06 +0900
Dirk Laurie <dpl@sun.ac.za> writes:
> That bothered me too, but I couldn't work out how to save a variable
> number of return values in Lua 5.1. It's easy in 5.2 where you have
> table.pack.
local rvals = { return_multiple_values() }
?
-miles
--
Next to fried food, the South has suffered most from oratory.
-- Walter Hines Page