Re: The first example in the Learning D book, wont compile

2018-03-26 Thread Graham Fawcett via Digitalmars-d-learn
On Sunday, 25 March 2018 at 21:02:26 UTC, Ali wrote: On Sunday, 25 March 2018 at 20:52:29 UTC, Ali wrote: On Sunday, 25 March 2018 at 20:45:58 UTC, Ali wrote: I now see my typo, should be retro, not range We need better IDEs, this would have been easily highlighted by a good ide I pasted yo

Re: The first example in the Learning D book, wont compile

2018-03-25 Thread Ali via Digitalmars-d-learn
On Sunday, 25 March 2018 at 20:52:29 UTC, Ali wrote: On Sunday, 25 March 2018 at 20:45:58 UTC, Ali wrote: I now see my typo, should be retro, not range We need better IDEs, this would have been easily highlighted by a good ide

Re: The first example in the Learning D book, wont compile

2018-03-25 Thread Seb via Digitalmars-d-learn
On Sunday, 25 March 2018 at 20:45:58 UTC, Ali wrote: Hi The first example in the Learning D book import core.thread; import std.stdio; void main() { import std.range: iota, range; write("Greeting in, "); foreach(num; iota(1, 4).range) { writef("%s...", num); stdout.

Re: The first example in the Learning D book, wont compile

2018-03-25 Thread Ali via Digitalmars-d-learn
On Sunday, 25 March 2018 at 20:45:58 UTC, Ali wrote: Hi The first example in the Learning D book import core.thread; import std.stdio; void main() { import std.range: iota, range; write("Greeting in, "); foreach(num; iota(1, 4).range) { writef("%s...", num); stdout.

The first example in the Learning D book, wont compile

2018-03-25 Thread Ali via Digitalmars-d-learn
Hi The first example in the Learning D book import core.thread; import std.stdio; void main() { import std.range: iota, range; write("Greeting in, "); foreach(num; iota(1, 4).range) { writef("%s...", num); stdout.flush(); Thread.sleep(1.seconds); } wr