SetExpr - method of object PmExpr
Sets an expression in the form of a text string.
SetExpr(sExpr As String) As Boolean
The method validates the syntax of entered expression. It does not check whether all the variables used in the expression have been defined (therefore the SetVar
can be called after this method has already been called).
true - on success
false - on error
The method can also be called in the graphic item events for Web panels
This method just sets the expression into the PmExpr
object so it can be later quickly evaluated. The evaluation itself can then be executed by the Eval