Hi Robert,

On Tuesday, August 27, 2002, 8:20:56 PM, you wrote:

RMM>         forall list [
RMM>                 object: first list
RMM>                 if (do bind copy predicate 'list) [do bind copy action
RMM> 'list]
RMM>         ]

This  way  you are copying and rebinding the blocks at each cycle.
Using functions is probably the best way, but if you prefer blocks
you can:

   predicate: bind/copy predicate 'list
   action: bind/copy action 'list
   forall list [
       object: first list
       if do predicate [do action]
   ]

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to