TMtxExpression.ClearExpressions Method

procedure ClearExpressions;

Clears all expressions only.

Result: stored in self (calling object)

Remarks:

Use this method if you do not want to delete parser defined variables and only want to delete parser expressions. Manipulation of vars of compiled expressions can lead to memory leaks. Call ClearExpressions first, if the variables are to be kept and/or added, but the expressions will change.

See Also: TMtxExpression.ClearAll, TMtxExpression.ClearVariables