You will have to evaluate your values
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
lowlimit = 53;
targetvalue = 61;
highlimit = 69;
dataspec = EValExpr(
{LSL(Expr(lowlimit)), USL(Expr(highlimit)), Target(Expr(targetvalue)), Show Limits(1)}
);
dt:weight << Set Property("Spec Limits", Eval(dataspec));
or you can do eval + evalexpr
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
lowlimit = 53;
targetvalue = 61;
highlimit = 69;
Eval(Eval Expr(
Column(dt, "weight") << Set Property(
"Spec Limits",
{LSL(Expr(lowlimit)), USL(Expr(highlimit)), Target(Expr(targetvalue)),
Show Limits(1)}
)
));
-Jarmo