"if sting in string"
John Colvin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 18 04:39:23 PDT 2015
On Friday, 18 September 2015 at 11:26:46 UTC, John Colvin wrote:
> On Friday, 18 September 2015 at 11:18:33 UTC, John Colvin wrote:
>> On Friday, 18 September 2015 at 09:42:05 UTC, smadus wrote:
>>> Ok i have rewrite :)
>>>
>>> Now:
>>> http://dpaste.dzfl.pl/cf8bb54b1390
>>>
>>> The Problem is:
>>>
>>> http://www.directupload.net/file/d/4114/9zryku49_png.htm
>>>
>>> but i dont understand this, because, the exception should be
>>> "Something wrong" ?!?
>>>
>>> But, thanks for the answers, realy good and the code has been
>>> smaller.
>>
>> There are two other points where an Exception could be thrown:
>> during the construction of dirEntries and on every iteration
>> of it.
>>
>> See http://dpaste.dzfl.pl/d38307643f9b for a corrected
>> version. It's not pretty
>>
>> I think this has shown up a design flaw in dirEntries, this
>> should be much easier.
>
> Sorry, correction: http://dpaste.dzfl.pl/75945e0d839a
This was so embarrassingly ugly to do that I posted in the main
group to see if people have better ideas:
http://forum.dlang.org/post/pdwndsdfjbogtbjcnkpc@forum.dlang.org
More information about the Digitalmars-d-learn
mailing list