|Top Previous Next|
function Evaluate : NUMBER ;virtual;
Evaluate function returns the numerical value of the mathematical string Expression. If the expression was not parsed before, it will be parsed for the evaluation. Once the expression is parsed, it won't be parsed again and again to obtain the numeric value. Instead the output value will be efficiently calculated from the parse tree. If the Expression property is re-assigned a new mathematical expression, then expression will be parsed next time the Evaulate function or Parse method is called.