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

[REBOL] global error handling?

From: maximo::meteorstudios::com at: 24-Jul-2003 19:33

hi, me again (seems I'm asking more than helping these days ;-) is there a way to handle an error globaly by putting a "hook" or appending to a block somewhere deep in the system funcs. I ask because I'm wondering if its possible to catch when an unset word is evaluated... I'd run some code just before an actual "unset value" error is generated... it would also be usefull to be able to execute code just after the error, do some magic and return to the application right after (I'll let you figure out what the unset value hook would do ;-) This has many uses and if its possible I'd like to integrate the mechanism in steel... thanks in advance! -max ----------- meteor Studios, T.D. ----------- Never Argue with an idiot. They will bring you down to their level and beat you with experience