On May 22, 7:58 am, Joran <[email protected]> wrote: > Is it possible to run Context.compileString within the Rhino shell?
I think my compileString code is in fact working. I can use Context.decompileString on the result and it returns the source. Now, the problem is I do not know how to exec it from within the Rhino shell, despite the available documentation (which is from a Java perspective). I am using: script.exec(context, scope) where: "context" is set to Context.getCurrentContext() and "scope" is set to Context.initStandardObjects() but nevertheless the same exception is thrown. _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
