Bug 3964 – Hello World, Reloaded example on 1.0 page has writeln
Status
RESOLVED
Resolution
WONTFIX
Severity
trivial
Priority
P2
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2010-03-15T08:52:00Z
Last change time
2015-12-16T02:47:31Z
Assigned to
nobody
Creator
baseball.mjp
Comments
Comment #0 by baseball.mjp — 2010-03-15T08:52:58Z
Thought I read this before, but couldn't find anything when searching.
On http://digitalmars.com/d/1.0/index.html, the example uses the function 'writeln' which does not exist in D1.
// Object Oriented Programming
auto cl = new CmdLin(argc, argv);
// Improved typesafe printf
writeln(cl.argnum, cl.suffix, " arg: ", cl.argv);
// Automatic or explicit memory management
delete cl;
Change writeln to writefln makes it work just fine.
Comment #1 by baseball.mjp — 2010-07-01T16:43:20Z
Is there any reason why this hasn't been fixed? It only requires a 1 character addition...
Comment #2 by nfxjfg — 2010-07-01T19:01:37Z
Michael P, it somebody happens that none of the D developers care about some bug.
Just forget it.