Subj : Re: Halting script To : Jun Kim From : Brendan Eich Date : Thu Dec 09 2004 11:10 am Jun Kim wrote: > Well, I posted a question about this, > but I'm going to do it again with different subject. > Is there any way to halt the script, > and restart from where it has been halted? Yes, but only by using a thread. Consider NSPR's user-level threads (based on setjmp/longjmp) if you don't need OS-supported threads. Use NSPR for portability and JS_THREADSAFE compatibility in any event. /be .