Is the world coming to an end?

Walter Bright newshound2 at digitalmars.com
Sun Apr 3 13:38:42 PDT 2011


On 4/3/2011 1:23 PM, Dan Olson wrote:
> Thought I'd test drive octal!.  I'm still on v2.051 though.
>
> writefln("%o", octal!777);    ->  777
> writefln("%o", octal!0777);   ->  511 (0ops)
>
> Maybe in a new version the second line will generate a error for the
> leading zero on the second line?
>

Yes, it will.


More information about the Digitalmars-d mailing list