foreach loop

Namal via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 19 08:55:58 PDT 2015


Is it possible to use foreach backwards?

foreach(int i;20..1)
  writeln(i);

compiles but I get nothing.



More information about the Digitalmars-d-learn mailing list