Hi Ross
A bit naf in the OO world, but an old trick to avoid declaring a StringList
is to add an identifier to your search string. ie
IsAudio := (pos(Extension + '@', '.wav@.mp3@.ogg@'));
Stephen
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/