-- For simulating a logical AND --

on mouseUp
  put fld "aFld" into filesList
  replace ".jpg" with ".jpg"&"!" in filesList
  replace ".gif" with ".gif"&"!" in filesList
  filter filesList with "*!*"
  replace "!" with empty in filesList
  put filesList into fld "bFld"
end mouseUp


--- [EMAIL PROTECTED] wrote:
> Okay, so one day I'll track down a list of Bourne
> Shell options as mentioned 
> in the Help entry on Filters, but just for now...
> 
> [1] Using AND
> How do we filter to extract both *.gif AND *.jpg
> from a list of file names?
> 
> [2] Using NOT
> And how do we do the reverse, such as 'All files
> except *.txt' ?

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to