[REBOL] Re: Exclude Problems
From: ammoncooke:y:ahoo at: 28-Sep-2001 5:53
Sorry, I forgot to fully omptimize that code here is a lot smaller version: excl-only: func [ "This is the Exclude function that doesn't exclude duplicates" block1 "The original block" block2 "The block to be 'excluded'" ][ tmp-block: copy block1 repeat val block2 [remove find tmp-block val] either not none? tmp-block[ return head tmp-block ][ return tmp-block ] ] Enjoy!! Ammon