[REBOL] Re: 'do - question
From: al:bri:xtra at: 11-Nov-2001 13:48
> so i'm groping for some way to temporarily overwrite 'quit ahead of do
loading script A so that whenever a 'quit occurs within A, the evaluation
halts, but the wrapper script can continue and the interpreter is running
on.
> as i'm do loading script A in a loop, overriding quit with a function that
does some cleanup work and then really 'quits won't help.
Something like this could help:
o: make object! [
Quit: does []
do bind load %MyScriptWithQuit.r 'Quit
]
I hope that helps!
Andrew Martin
ICQ: 26227169 http://valley.150m.com/