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()