SetExpr - method of object PmExpr
Sets an expression in the form of a text string.
Boolean SetExpr(String sExpr)
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
This method is also functional 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