multiple return

bearophile bearophileHUGS at lycos.com
Wed Apr 20 18:18:51 PDT 2011


%u:

> how can I use the return values individual?

One of the simpler ways is to think of a tuple as an array, and use sometuple[0] to take its first item, etc. But your tuple indexes need to be compile-time constants.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list