lua-users home
lua-l archive

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



2015-07-16 10:40 GMT+08:00 Coda Highland <chighland@gmail.com>:

It's pretty simple: (f()) is an _expression_, not a function call
(though it of course CONTAINS a function call), and expressions always
return a single value. You could also say f() + 0.

/s/ Adam

Thank you for your explanation. In fact I have the same question, not only for parenthesized function call and ellipsis, also for the function call and ellipsis in the middle of an _expression_ list.

Regards,
Zenk Ju