You are here: Symbol Reference > MtxParseExpr Namespace > Classes > TMtxFunctionEvaluator Class
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxFunctionEvaluator Class

Function evaluator.

MtxParseExpr_TMtxFunctionEvaluatorMtxParseExpr_TMtxFunctionEvaluator
Pascal
TMtxFunctionEvaluator = class(TMtxComponent);

The component offers a simple interface to evaluate expressions. 

The expressions are assigned to the Context property and are compiled, prepared for execution and stored in the Expressions property. The expression parser can handle real and complex numbers, logical variables, variable assignments and more. The expression engine is fully customizable supporting user defined variables and functions. 

To evalute the expression(s) in the Context property again, set the Context property again or call the Recalculate method. In either case the expression will not be parsed again, just evaluated once more.

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