On Mon, Sep 7, 2009 at 8:12 AM, Justin Johansson<proc...@adam-dot-com.au> wrote:
> Now is this blurry vision to blame or a typo at line 23 into the first > example this page? > > http://www.digitalmars.com/d/2.0/index.html > > // Improved typesafe printf > writeln(cl.argnum, cl.suffix, " arg: ", cl.argv); > // Automatic or explicit memory management > delete cl; > } > > writeln should be writefln ? No, in Phobos 2 there's a function called writeln as well. It's like writefln but doesn't do formatting. > Ditto on D1.0 intro page > http://www.digitalmars.com/d/1.0/index.html Now that *is* a legitimate mistake. There's no writeln in Phobos 1, and that should be writefln.