[fpc-pascal] findfirst wildcards...
wkitty42 at windstream.net
Wed Dec 3 00:26:11 CET 2014
On 12/2/2014 5:12 PM, Bart wrote:
> On 12/2/14, waldo kitty <wkitty42 at windstream.net> wrote:
>> how do you process for multiple filemasks?
>> eg: find ts??????.sel and t???.sel for the same processing run
> Maybe I misunderstand the question but:
> Use '*' as mask for FindFirst/FindNext then use MatchesMaskList()?
in the above masks, any '*' returns too many unwanted files... after some hours
of experimenting i finally figured out that using '?' works better but in some
cases, it can also return unwanted files (shorter filenames) than desired...
i'm not aware of MatchesMaskList but i will hunt it down and see if it helps...
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 fpc-pascal