[REBOL] Re: COLLECTing results
From: AJMartin:orcon at: 24-Jul-2003 18:51
> P.S Andrew: thanks for the tip regarding the "not only".
No problem! :)
I've got this for my version of 'Collect:
>> source Collect
Collect: func [
"Collects the results of block evaluations."
Block [block!] "The block to 'do."
/Only "Inserts the result as a series." /local
Results: copy 
head (pick [insert insert/only] not Only) tail Results do (Block)
I think filtering could be just a word! (or a path!) between 'Collect and
the block! value.
Andrew J Martin
Writing in Orthodocs Rebol...
ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/