lua-users home
lua-l archive

Re: Catching and passing multiple values

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


On Feb 22, 2006, at 06:01, Gavin Kistner wrote:
Is there a clean way to do the above (catch, save, and then later return) in Lua? (I had hoped I could use a vararg expression magically in place of "*matches" above, but obviously that doesn't work.
Perhaps something like this?
local someMatches = { aPath:find( aPattern ) }
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/

AltStyle によって変換されたページ (->オリジナル) /