Difference between revisions of "CAObject::Evaluate"
(Created page with "= CAObject::Evaluate(expr) = Parses and evaluates an Analytica expression, «expr». Uses the number format from the CAObject for those operations that require a number...") |
|||
Line 1: | Line 1: | ||
+ | [[Category:ADE User Guide]] | ||
+ | [[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAObject]] | ||
+ | <languages /> | ||
+ | <translate> | ||
+ | |||
= [[CAObject]]::Evaluate(expr) = | = [[CAObject]]::Evaluate(expr) = | ||
Line 20: | Line 25: | ||
* [[CAObject::ResultTable]] | * [[CAObject::ResultTable]] | ||
* [[CAEngine::SendCommand]] | * [[CAEngine::SendCommand]] | ||
+ | </translate> |
Revision as of 00:36, 16 June 2015
ADE User Guide > ADE Server Class Reference > CAObject
CAObject::Evaluate(expr)
Parses and evaluates an Analytica expression, «expr».
Uses the number format from the CAObject for those operations that require a number format. For example, Text Concatenation uses the number format when coercing a numeric value to text (e.g., "Pi="&Pi
).
The result, when successful, is a CATable
Example (C#)
CATable res = obj.Evaluate("Sum(revenue,division)");
API Error Codes
- 35 - Attribute could not be retrieved
See Also
Comments
Enable comment auto-refresher