On Saturday, 22 October 2016 at 05:41:34 UTC, Mark wrote:
Thanks for the fast reply.

That did work. But now the error is on the line:

         dictionary[word] = newId;

I changed the value to 10, still errors. ??


everything else is as before.

thanks.

For simple single file experiments like this, I strongly recommend you ditch Code::Blocks (or any IDE) and just use a text editor + the command line. All you need is the compiler on the path, then you can do this:

dmd foo.d

Any errors will be shown right in the console. Try that out then come back and post the error messages you see. Preferably something more informative than "the error is on the line" :)

Reply via email to