CreatePmExpr - method of the Pm object
Description:
Creates object of the
PmExpr type.
Syntax:
Object CreatePmExpr()
Example1:
JavaScriptVBScriptSelect and copy to clipboard
var val;
var oExpr = Pm.CreatePmExpr();
oExpr.SetExpr("a+b");
oExpr.SetVar("a", 3);
oExpr.SetVar("b", 2.5);
val = oExpr.Eval();
Dim val, oExpr
Set oExpr = Pm.CreatePmExpr()
oExpr.SetExpr "a+b"
oExpr.SetVar "a", 3
oExpr.SetVar "b", 2.5
val = oExpr.Eval()