CAObject::Evaluate
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