multiple return

%u asmasm at hotmail.com
Wed Apr 20 16:59:17 PDT 2011


thanks you all, it works.

last thing, I have this
Tuple!(int,int,int)(1, 2, 3)

how can I use the return values individual?

to be more clear if I rturn tuple(a, b, c) can I write in the code

void main() {

//call the function here
writeln(a);

}


More information about the Digitalmars-d-learn mailing list