[Lazarus] GetAllFilesMask / AllFilesMask

waldo kitty wkitty42 at windstream.net
Mon Apr 29 20:51:59 CEST 2013


On 4/29/2013 14:04, Bart wrote:
> On 4/29/13, Jürgen Hestermann<juergen.hestermann at gmx.de>  wrote:
>
>> So (int the context of the bug report) the programmer has no chance to do it
>> right and all his knowledge about OS filter masks is of no use because an
>> intermedate routine silently changes his mask? This is more than strange.
>> What is the reason for doing this?
>
> Not exactly.
> User supplies SomeMask
> FileSearcher does FF/FN with AllFilesMask and filters output with SomeMask.
> It currently is the only way to do a filesearch with multiple masks
> ('*.jpg;*.png;*.bmp').

ewww... why not break the masks out into three (for the given example) separate 
FF/FN runs and stuff the results into the same TStringList (removing duplicates 
of course) or whatever the results are returned in?

-- 
NOTE: No off-list assistance is given without prior approval.
       Please keep mailing list traffic on the list unless
       private contact is specifically requested and granted.




More information about the Lazarus mailing list