Hi Ladislav,

On Sunday, September 1, 2002, 1:23:35 PM, you wrote:

LM> The difference is, that in this case the result of the (first block2)
LM> expression evaluation "legally" exists, that is why I call it a "legal"
LM> error.

I  see.  I'd  more likely have errors as first class, instead of a
DEFAULT  function  able  to  make  the  distinction. Anyway, it is
possible to discern the two cases with:

>> is-really-error?: func [code] [error? try compose [error? (code)]]
>> is-really-error? [first block]
== true
>> is-really-error? [first block2]
== false

I haven't tried it with any other case tough.

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