Number literals (Was: Re: Case Range Statement ..)

Rainer Deyke rainerd at eldwood.com
Wed Jul 8 13:34:17 PDT 2009


Walter Bright wrote:
> Don wrote:
>> It catches occasional mistakes such as:
>> int [] foo = [
>>   001
>>   010
>>   100
>> ];
> I see your point, but I'd like to add that it is rare enough that it has
> never happened to me in 30 years.

It has happened to me once or twice.  I have never intentionally used an
octal integer constant.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list