`
gudujianxuehu
  • 浏览: 95762 次
  • 来自: ...
社区版块
存档分类
最新评论

js.jar

阅读更多
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();
		}
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics