Simultaneous Assignment

Dfr deflexor at yandex.ru
Sun Dec 8 23:37:57 PST 2013


Does D has somtething similar ?

http://code.google.com/p/go-wiki/wiki/SimultaneousAssignment

I tried this way, but it not worked out.

if((int x = 10) > 0) {
     writefln("x is %s", x);
}


More information about the Digitalmars-d-learn mailing list