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

[REBOL] Re: Exclude Problems

From: ammoncooke:yaho:o at: 28-Sep-2001 8:58

----- Original Message ----- From: "Joel Neely" <[joel--neely--fedex--com]> To: <[rebol-list--rebol--com]> Sent: Thursday, September 27, 2001 11:52 PM Subject: [REBOL] Re: Exclude Problems
<snip> > > I'd suggest making TMP-BLOCK a /LOCAL to prevent contaminating > the global namespace. >
I like that one! I just overlooked it.
> I'm not clear on why the following wouldn't be a valid solution. > Am I missing some subtlety? > > remove-all: func [source [block!] targets [block!] /local result] [ > result: copy source > foreach target targets [ > remove find result target > ] > result > ]
No, that works great! As you can see you still have many years experience on me. ;) I still just starting to crack out of my shell! I wasn't the one asking for it so I am certain that it will do, Bu tI believe it will. \Thanks!! Ammon