boolea b=false;
Context cx = Context.enter();
try {
Scriptable scope = cx.initStandardObjects();
Object result = cx.evaluateString(scope, 公式, null, 1, null);
b = Context.toBoolean(result);
return b;
} catch (Exception e) {
return b;
} finally {
Context.exit();
}
js.jar
最新推荐文章于 2022-04-15 23:56:23 发布