CAObject::Evaluate

Revision as of 00:43, 16 June 2015 by Karenlee (talk | contribs) (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ADE User Guide > ADE Server Class Reference > CAObject

Other languages:
English • ‎中文

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


You are not allowed to post comments.