lua-users home
lua-l archive

Re: Why adding an extra parentheses can let function return only one return value?

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


2015年07月18日 8:37 GMT+02:00 zejian ju <juzejian@gmail.com>:
>
>
> 2015年07月16日 19:56 GMT+08:00 Dirk Laurie <dirk.laurie@gmail.com>:
>>
>> when building up an explist, only the last
>> item in it may be another explist, the others must be an expression.
>>
> Yes, I hope this description of explist can be stated explicitly in the
> manual.
It's only my interpretation. The official syntax states that everything
in an explist must be an exp, which of course is adequate.
But the three quotes in the manual that I cited in my previous post
should be enough for any reasonable and careful reader.

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