Yes enclose each variable with ^ ... ^ and have the jsl statement enclosed in the Eval( Parse( Eval Insert("\[ ... ]\"))) pattern.
For example, the following code sets spec limits for a column:
Open("$SAMPLE_DATA/Big Class.jmp");
cHeight = Column("height");
Column("height") << Set Property( "Spec Limits", {LSL(55), USL(75), Target(65)} );
Let's say we have the following variable assignments that we would like to use:
colName = "height";
lower = 55;
upper = 75;
target = 40;
Then we can write:
Eval( Parse( Eval Insert("\[
Column("^colName^") << Set Property( "Spec Limits", {LSL(^lower^), USL(^upper^), Target(^target^)} );
]\")))
-Dave
-Dave