Thread overview
[Issue 3964] New: Hello World, Reloaded example on 1.0 page has writeln
Mar 15, 2010
Michael P
Jul 01, 2010
Michael P
Jul 02, 2010
nfxjfg@gmail.com
March 15, 2010
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: nobody@puremagic.com
        ReportedBy: baseball.mjp@gmail.com


--- Comment #0 from Michael P <baseball.mjp@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: -------
July 01, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3964



--- Comment #1 from Michael P <baseball.mjp@gmail.com> 2010-07-01 16:43:20 PDT ---
Is there any reason why this hasn't been fixed? It only requires a 1 character addition...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 02, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3964


nfxjfg@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfxjfg@gmail.com


--- Comment #2 from nfxjfg@gmail.com 2010-07-01 19:01:37 PDT ---
Michael P, it somebody happens that none of the D developers care about some
bug.
Just forget it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------