e wrote:
> I think I get it... When the expression is reduced down, if the result is
type error!, it ab ends.
Not quite as the error can be assigned to a variable. It's when Rebol
evaluates the results and it's of error! type. For example:
>> error? err1: err2: err3: try [1 / 0]
== true
>> probe disarm err2
make object! [
code: 400
type: 'math
id: 'zero-divide
arg1: none
arg2: none
arg3: none
near: [1 / 0]
where: none
]
Note that 'err1, 'err2 and 'err3 are all set to the same value and Rebol
doesn't "ab end". It's when the error is evaluated by Rebol:
>> err2
** Math Error: Attempt to divide by zero.
** Where: 1 / 0
that the error causes the "ab end".
I hope that clears things up.
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
http://members.xoom.com/AndrewMartin/
-><-
- [REBOL] Problem with try [ open/direct/binary tcp://... ] eventi
- [REBOL] Problem with try [ open/direct/binary tcp://... petr . krenzelok
- [REBOL] Problem with try [ open/direct/binary tc... eventi
- [REBOL] Problem with try [ open/direct/binar... Al . Bri
- [REBOL] Problem with try [ open/direct/b... eventi
- [REBOL] Re: Problem with try [ open... Al . Bri
- [REBOL] Re: Problem with try [ open... rebol
- [REBOL] Problem with try [ open... eventi
- [REBOL] Problem with try [ ... Al . Bri
- [REBOL] Problem with try [ ... joel . neely
- [REBOL] Problem with try [ ... larry
- [REBOL] Binary weirdness (w... eventi
- [REBOL] Problem with try [ ... g . santilli
- [REBOL] Problem with try [ ... joel . neely
- [REBOL] Problem with try [ ... brett
- [REBOL] Problem with try [ ... joel . neely
