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

[REBOL] list filter idom

From: jason::cunliffe::verizon::net at: 17-Sep-2002 0:38

Hi. I'm getting stuck and need a little help with a basic rebol idiom. I have folder where people are can uploding to a website, with an index.l which autmoatically creates a linked list of the files. However I need to also maintain a 'private' list of files or directories which will not be visible. This is what I have right now, but it's obviously not right=> private: copy [] append private "index.r" append private "_35945955_computer_dump300.jpeg" append private "girls.jpg" files: sort read %. foreach file files [ file: parse file "/" foreach name private [ either == to-string file name [ ][ print rejoin [{<a href="} file {">} file {</a><br>}] ] ] ] thanks ./Jason