[REBOL] Re: 'do - question
From: andreas:bolka:gmx at: 11-Nov-2001 15:22
Thanks Volker, Thanks Andrew!
Sunday, November 11, 2001, 5:55:38 AM, nitsch-lists wrote:
> carl suggested something like
>>> catch/name[throw/name "goodbye" 'quit] 'quit
> == "goodbye"
> real-quit: :quit
> quit: [throw/name 'quit]
> catch/name[unview/all do your-file] 'quit]
That's exactly with what I've come up yesterday night. As I know that
the script I call does not use any unnamed catch, it does work fine ;)
> you should also catch errors, reset directory and figure out if you
> need some unview/all to stop event-loop.
> i have an extended version for that in my ide, runs some unprepared
> foreign scripts well. but german yet..
hmm, german would be no problem, as this is my native language ;)