You are here: Symbol Reference > MtxParseExpr Namespace > Classes > TMtxExpression Class > public > TMtxExpression.EvaluatedVarName Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxExpression.EvaluatedVarName Method

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

Pascal
function EvaluatedVarName(Index: integer): string;

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!