Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: list filter idom => idiot

From: gscottjones:mchsi at: 17-Sep-2002 9:36

From: "Jason Cunliffe" ...
> What other rebol idioms do you recommend for filtering items listed in one
block
> from those in another?
Hi, Jason, Here is another approach, using the REBOL word exclude: private: copy [] append private to-file "rebol.r" append private to-file "prefs.r" files: sort read %. ;get rid of directory listings forall files [if dir? files/1 [remove files]] files: head files ;removes private files from set files: exclude files private foreach file files [ print rejoin [{<a href="} file {">} file {</a><br>}] ] --Scott Jones