foreach

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 13 04:42:31 PDT 2014


On 13/06/14 11:28, "Marc Schütz" <schuetzm at gmx.net>" wrote:

> Would be nice if we could elide the parentheses and semicolons:
>
>      10.times! {
>          writeln("Do It!");
>      }
>      10.times! (uint n) {
>          writeln(n + 1, " Round");
>      }

Yeah, that has been suggested before.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list