[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Forwarding N Return Values
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 16 Nov 1999 10:21:38 -0200
> Question: Is there any way to use this syntax without resorting to
> intermediate variables?
No, unless you make your call through the "call" function:
call(accepts_two, call(returns_two, {}, "p"))
but that is too cumbersome and ineficient.
> Question: Can this syntax be allowed for future versions?
I don't think so, because it could cause incompatibilities with existing
code, and the implementation would be slower even for the much more
frequent case when we are passing only one result. But we will think
about...
-- Roberto