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

--- Comment #0 from Michael P <> 2010-03-15 08:52:58 PDT 
Thought I read this before, but couldn't find anything when searching.

On, 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:
------- You are receiving this mail because: -------

Reply via email to