TMtxExpression::EvaluatedVarName Method

DewString EvaluatedVarName(int Index);

Returns the name of the result variable for expression at Index.

#NameTypeDescription
1Indexint
Remarks:

Use this method to retreive the name of result variable of the expression stored at position Index. In case of a = b + c, the name of the result variable is "a". In case of b + c, the result variable has no name. The object stores a list of expressions and therefore requires an index to specify the name of the result of which expression is desired.

See Also: TMtxExpression::ClearAll, TMtxExpression::ClearExpressions
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler