[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Expanding multiple return values of Lua functions in a Lua table constructor
- From: Elias Barrionovo <elias.tandel@...>
- Date: Wed, 17 Oct 2012 16:36:26 -0300
On Wed, Oct 17, 2012 at 4:28 PM, agentzh <agentzh@gmail.com> wrote:
> Sorry if this is a FAQ. I'm stumbling on the following example with
> Lua 5.1.4 and 5.1.5:
Yeah, this is FAQ! =P
A function call followed by a list of expressions or between parens
forces the return of only the first value:
http://www.lua.org/manual/5.1/manual.html#2.5
--
NI!