lua-users home
lua-l archive

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


On 04/27/2017 06:59 PM, Soni L. wrote:
> You need to use select() if you want multiple return values. It's a
> single end-of-list-expr.

How about requiring parens as part of the syntax?

e.g.
function(a,b) =( b,a )
function() =( "foo" )

Or would that push the parser too far?

Scott