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

[REBOL] list filter idom => idiot

From: jason:cunliffe:verizon at: 17-Sep-2002 6:52

doh..well I solved my exceedingly simple problem => private: [%file1.r %file2.html %file3.jpeg] files: sort read %. public: copy [] foreach file files [ either find privatefile [print "private viewing by appointments only"] [append public file] ] ; now render linked list of public files foreach file public [ print rejoin [{<a href="} file {">} file {</a><br>}] ] What other rebol idioms do you recommend for filtering items listed in one block from those in another? thanks ./Jason