On 29-Aug-02, Tom Conlin wrote:

> err: none either error? err: try[ (1 / 0 ) "no-err"][true][false]
> == true
>>> err
> ** Math Error: Attempt to divide by zero
> ** Near: 1 / 0
>>> err: none either error? err: try[ (print 1 )
>>> "no-err"][true][false]
> 1
> == false
>>> err
> == "no-err"
>>> err: none either error? err: try[ (1 ) "no-err"][true][false]
> == false
>>> err
> == "no-err"
>>> either error? err: try[ make error! "boo" "no-err"][true][false]
> == true
>>> err
> ** User Error: boo
> ** Near: make error! "boo" "no-err"
>>> 

And that's probably the best way to do it, and certainly simpler than
my approach...

-- 
Carl Read

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

Reply via email to