I think I am running into a problem with the reserved word "delete".
When I run this script:

new java.io.File( "C:/temp/junk" ).delete();

I receive the following exception.

javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorException: missing name
after . operator (<Unknown source>#1) in <Unknown source> at line
number 1

Is there some way to escape the reserved word so that this will work?
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to