Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(5)

From: al:bri:xtra at: 3-Oct-2000 12:05

> Hi Andrew,
Hi, Elan.
> as an aside: > > [Al--Bri--xtra--co--nz] wrote: > > > >> probe err > > ** Math Error: Attempt to divide by zero. > > ** Where: 1 / 0 > > remember to disarm errors before you probe them. Try > >> probe disarm err > > That's probably what you intended to do?
No, I meant to write exactly that, to show that _evaluating_ the error in err is where Rebol "ab ends" as it were, rather than where it "passed out the left end" as it were.
>> probe err
Flow------>+ v <--+ ========^== ; Error occurs at ^ point The error occurs after 'err is evaluated, as Rebol prepares to enter the value of 'err as an argument for 'probe. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/