std.string.chomp error

simendsjo simen.endsjo at pandavre.com
Mon Aug 9 17:09:03 PDT 2010


On 10.08.2010 02:09, Jonathan M Davis wrote:
> On Monday, August 09, 2010 16:59:07 bearophile wrote:
>> simendsjo:
>>> Ahem.. :) Yes, I did miss your answer! How I got fooled by the preview
>>> pane and never noticed the scrollbar.
>>
>> No problem, it happens, don't worry.
>>
>>> I cannot see how your other bug report relates to this though.
>>
>> My other bug report is about this line in your code:
>>   if (delimiter == null)
>> I don't like it :-)
>>
>> Bye,
>> bearophile
>
> Why, because it should be
>
> if(delimiter is null)
>
>
> or just
>
> if(!delimiter)
>
>
> - Jonathan M Davis

Hehe.. You're a bit beyond my D level right now. At least I now know 
null == false and you can do reference is null :)


More information about the Digitalmars-d-learn mailing list