lua-users home
lua-l archive

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


On Wed, Jun 08, 2011 at 11:06:27AM +0200, liam mail wrote:
> 
> As always in programming there are many ways of skinning a cat and 
> personally I would not use match for this exercise as I would not 
> want to search the string twice. 
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. 

Dirk