Multiple return values...

Manfred Nowak svv1999 at hotmail.com
Fri Mar 9 12:39:36 PST 2012


Manu wrote:


> By contrast, multiple return values are quite the opposite. They
> are explicitly NON-STRUCTURED.

> The presumption in this case is that multiple resturn 
> values would follow the exact same set of rules as passing
> multiple args TO a function, but in reverse.

this seams to state a contradiction, because one cannot use the 
"multiple return values" as actual parameters for any call of a 
function.

Furthermore it is not defined how the formal parameters of a function 
are to be declared, if they are assumed to receive "multiple return 
values" as actual arguments. If those actual parameters are indeed NON-
STRUCTURED how can one define them or even mix them with STRUCTURED 
actual parameters?

-manfred





More information about the Digitalmars-d mailing list