Access jsl code of New Column with FormulaHello,
is there a simple way of getting the jsl code of a generated column (I used New Formula Column from column menu) as I am wondering how to deal with the local variables in the New Column jsl code (Formula).
Best regards
![2019-02-26 10_06_23-Year Week[Timestamp] - JMP.png 2019-02-26 10_06_23-Year Week[Timestamp] - JMP.png](https://us.v-cdn.net/6038925/uploads/images/15824i2ACCA2125A3E8359/2019-02-26%2010_06_23-Year%20Week%5BTimestamp%5D%20-%20JMP.png)
Re: Access jsl code of New Column with FormulaThank you very much - works perfectRe: Access jsl code of New Column with FormulaNamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
// Add a formula column . . .
nc = dt << NewColumn("BMI", Numeric, Continuous, Formula((:weight/:height^2)*703));
// Get the formula expression from a column into a variable . . .
bmiFormula = nc << getFormula;
Print(bmiFormula);