On Jul 17, 2:52 am, Attila Szegedi <[EMAIL PROTECTED]> wrote: > Yeah, that's okay. That's basically how you could also implement an > include() function to include another script within the current script > -- I've done it here and there in the past. > > Attila. > > On Jul 16, 2008, at 9:32 PM, [EMAIL PROTECTED] wrote: > > > Hi, > > > Can the following case be handled correctly by Rhino? > > > When Rhino interprets script A, it calls back one of my method. In my > > method, I use the same context to run another script B. The result of > > running script B will be used in Script A. > > > In other words, One context interprets script A, and pause at certain > > point. Then the same context interprets another script B. When > > finishing script B, the same context resume to interpret script A. > > > I know Rhino support Continuation. But for above case, do I need use > > "continuation" explicitly or Rhino can already handle it implicitly. > > > I run a very simple test case, it works. Could I know if the > > implementation supports it completely or now. > > > Thank you very much. > > > shlbruce
Thank you, Attila. Now I can use this confidently. _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
