Hi Ladislav,

On Thursday, May 11, 2006, 5:02:04 PM, you wrote:

LM> Gabriele's version looks less comfortable and less reentrant than this
LM> one, otherwise it may be a matter of preferences.

I'm  relying  on  the  function's context support for recursion to
handle recursion; depending on how multitasking will work that way
may  be a problem or not; it just saves having a "local" emit, and
it  means  that the code in the body can call other functions that
call  emit safely and it will work as intended (which is never the
case with a local emit). For example, I use something like this in
Wetan  to temporarily capture the output from the FSM and reuse it
somewhere else.

As usual it's a matter of trade-offs. :)

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  ---  http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to