[REBOL] Re: global error handling?
From: andrew:martin:colenso:school at: 25-Jul-2003 13:09
Max wrote:
> me again (seems I'm asking more than helping these days ;-)
Hey, there's a give and take in most people's lives.
> I ask because I'm wondering if its possible to catch when an unset
word is evaluated...
Would it still work if silly people like myself did this:
>> type? do [print "123"]
123
== unset!
:)
> 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 don't know if this is helpful or not but the 'throw and 'catch words
might be useful? Perhaps 'try, 'attempt, and 'error! might be useful?
Andrew J Martin
Attendance Officer &
Information Systems Trouble Shooter
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
Fax: 64-6-8336759
http://colenso.net/scripts/Wiki.r?AJM
http://www.colenso.school.nz/