Article View: borland.public.cppbuilder.nativeapi
Article #10205Re: MatchesMask function and wildcards question
From: Remy Lebeau (TeamB)
Date: Wed, 05 May 2004 02:08
Date: Wed, 05 May 2004 02:08
15 lines
1413 bytes
1413 bytes
"Martin C" <martincplus@hotmail.com> wrote in message news:409845a0@newsgroups.borland.com... > I need to be able to compare the filename inside the MatchesMask > with multiple wildcards (ex. *.cpp, *.obj, *.asm....etc), so my question > is it possible to do so through the MatchesMask function? and if not > is there any alternative solution? MatchesMask() only supports one mask at a time. If you want to search on multiple masks, then you have to call MatchesMask() multiple times, changing the mask each time. Gambit
Technical Details
Message-ID:
<40984de7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<409845a0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b3e4cfc74ec4a42b X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <409845a0@newsgroups.borland.com> Subject: Re: MatchesMask function and wildcards question Date: Tue, 4 May 2004 19:08:15 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <40984de7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1083723239 67.22.138.253 (4 May 2004 19:13:59 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail