Hi,
I am trying to create a simple formula on columns that are stored as variables in a list.
I do not understand why JSL refuses to perform the formula.
If I change in the formula the parameter by hte string it stores, it works perfectly.
Any help ??
Here is the code I use:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
MyList = {"age", "height"};
ParamPlot = {"age2", "height2"};
for(j=1, j <= N items(MyList), j++,
dt << New Column( ParamPlot[j], Formula( 2* ParamPlot[j]) );
);
I tried things like Eval, Eval expr,...but noway 