CAObject::Evaluate

Revision as of 04:22, 24 October 2015 by Jhuawen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ADE User Guide > ADE Server Class Reference > CAObject

Other languages:
English • ‎中文

CAObject::Evaluate(expr)

解析和计算Analytica表达式«expr»。

对于需要数字格式的运算使用来自CAObject的数字格式。例如:当将一个数字值强制变化成文本时使用数字格式Text Concatenation(文字连接:例如, "Pi="&Pi

当成功时,结果是一个CATable

示例(C#)

CATable res = obj.Evaluate("Sum(revenue,division)");

API错误代码

  • 35 - 属性不能检索

另请参考

Comments


You are not allowed to post comments.