[REBOL] if any [not suffixes find suffixes find/last file "." ] [ Re:(4)

2000-09-07 Thread bhandley
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: [R

[REBOL] if any [not suffixes find suffixes find/last file "." ] [ Re:(3)

2000-09-07 Thread johnkenyon
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"

[REBOL] if any [not suffixes find suffixes find/last file "." ] [ Re:(2)

2000-09-07 Thread princepawn
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" --- On Thu, 7 Sep 2000 8:57:15 - johnkenyon wrote: > > >Hi again, > >Look at >>> help any > >Maybe more readable with extra brackets to emphasize

[REBOL] if any [not suffixes find suffixes find/last file "." ] [ Re:

2000-09-07 Thread johnkenyon
Hi again, Look at >> help any Maybe more readable with extra brackets to emphasize the execution order - if any [not suffixes find suffixes find/last file "."] [ is the same as if (not suffixes) or (find suffixes (find/last file "."))] [ Any better? cheers, john I am trying to un

[REBOL] if any [not suffixes find suffixes find/last file "."] [

2000-09-07 Thread princepawn
I am trying to understand the following script and dont quite understand the mechanics of this line right here: if any [not suffixes find suffixes find/last file "."] [ I understand not suffixes completely I dont understand find suffixes find/last file "." at all suffixes is a block of suffix