The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Evaluate


Unit:SDL_math2
Class:TMathExpression
Declaration:function Evaluate: Variant;

The method Evaluate interprets the expression specified by the property Expression and calculates the result of it. If the function parser encounters a variable name, it triggers an OnVarRequest event asking for the corresponding value.

The actual type of the result depends on the type of variables and the operators applied to them.


Last Update: 2023-Jun-14