使用公式訪問新列的jsl代碼你好,
有沒有一種簡單的方法來獲取生成列的 jsl 代碼(我使用列菜單中的新公式列),因為我想知道如何處理新列 jsl 代碼(公式)中的局部變量。
此致
![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)
回复:使用公式訪問新列的jsl代碼非常感謝 - 工作完美回复:使用公式訪問新列的jsl代碼NamesDefaultToHere(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);