Just a note.

There is an enhancement request for find so that it return values like
John's code suggests but without requiring the loop.

Brett.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 08, 2000 3:00 AM
Subject: [REBOL] if any [not suffixes find suffixes find/last file "." ]
 Re:(3)


>
>
> Hi,
>
> Do you mean ...
> foreach file-name file-list [
>     if find/any file-name "*.r" [ print join "found " file-name ]
> ]
>
> ?
>
> cheers, john
>
> I think it makes sense now... but: how could I use a wildcard such as the
> find/any wildcard to find the file, e.g.:
>
> find/any file-list "*.r"
>
>

Reply via email to