Runtime error in code on main page

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 24 20:01:12 PDT 2015


On Tue, Aug 25, 2015 at 02:34:11AM +0000, rsw0x via Digitalmars-d wrote:
> On Tuesday, 25 August 2015 at 02:24:32 UTC, H. S. Teoh wrote:
> >On Tue, Aug 25, 2015 at 01:27:36AM +0000, Adrian via Digitalmars-d wrote:
> >>The "Get your local weather report" sample code on the main page
> >>generates the following error:
> >>
> >>/d683/f748.d(32): Error: undefined identifier centerJustifier
> >>
> >>Someone might want to address that.
> >
> >It works on the latest git HEAD. Which version of the compiler are
> >you using?  That example probably should be reworked to work with
> >earlier compilers. :-)
> >
> >
> >T
> 
> He means the example that you can run in-browser.
> He's right, it fails.

It works on git HEAD.

But apparently not on older compilers.


T

-- 
Never wrestle a pig. You both get covered in mud, and the pig likes it.


More information about the Digitalmars-d mailing list