http://d.puremagic.com/issues/show_bug.cgi?id=3964
Summary: Hello World, Reloaded example on 1.0 page has writeln Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: www.digitalmars.com AssignedTo: nob...@puremagic.com ReportedBy: baseball....@gmail.com --- Comment #0 from Michael P <baseball....@gmail.com> 2010-03-15 08:52:58 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------