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

[REBOL] Re: Help me, Obi Reb Kenobi, you're my only hope!

From: lmecir:mbox:vol:cz at: 31-Aug-2002 20:28

Hi Gabriele, <<G>> ... BTW Ladislav, do you think there could be any problems with this alternative version? default: func [ [throw] code [block!] fault [block!] /good pass [block!] /local result ] [ either error? set/any 'result try code [ fault: func [[throw] error [error!]] fault fault result ] [ do any [pass [get/any 'result]] ] ] <</G>> I think, that your version is more understandable and more robust. That is why I suggest others to use Gabriele's version instead of mine. I am still curious, if many Rebol users prefer to allow UNSET! valued expressions (eventually why?). OTOH, both versions of DEFAULT cannot discern "illegal" and "legal" errors, which is another glitch in Rebol I would prefer to have straightened. Ciao -L