Functions which return multiple values?

Frank Benoit keinfarbton at googlemail.com
Sat Sep 29 04:31:24 PDT 2007


Dan schrieb:
> Without using an array or struct, can D return more than one value from a function? If not, why isn't this a desirable feature for a programming language to have?

You can use "out" arguments or a tuple return type.


More information about the Digitalmars-d-learn mailing list