lua-users home
lua-l archive

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


I'm curious about why it is not possible to do something like:

`function o.method(self, fun, ...)

success, ... = pcall(fun, ...)
--vararg now return values of fun
-etc.

end
`

I assume this has been a topic, because its use would be pretty obvious. I couldn't come up with anything via the googles, so could someone point the way to where this was discussed?


-Andrew