该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


提示:JSL choices for properties are the same as those in the Column Properties menu in the Column Info window. The arguments for each property correspond to the settings in the Column Info window. An easy way to learn the syntax is to establish the property that you want in the Column Info window first, and then use Get Property to view the JSL. See ““列信息”窗口” in the Using JMP book for details about each property.
The name of the property in question is always the first argument for Set Property, and what is expected for subsequent arguments depends on which property you set:
Get Property and Delete Property always take a single argument, which is the name of the property.
Get Property returns the property’s settings. Delete Property completely removes the property from the column.
If you want to set several properties, you need to send several separate Set Property messages. You can stack several messages in a single JSL statement if you want.
To get a property’s value, send a Get Property message whose argument is the name of the property that you want:
The same syntax works for Set Scroll Lock Columns, and Scroll Lock.
One way to do this is to use expressions. In the following example, the Eval Expr() function evaluates and replaces any variable wrapped in the Expr() function with its value. The outer Eval() function evaluates the entire statement after the replacement has occurred.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Eval Expr(
:height << Set Property(
// store the limits in the Spec Limits column property
"Spec Limits",
{LSL( Expr( lLimit ) ), USL( Expr( uLimit ) ), Target( Expr( tLimit ) ),
Common Properties for Data Table Columns shows examples for setting and getting popular column properties. See ““列信息”窗口” in Using JMP for more information about each property.
Choices for Goal are Maximize, Match Target, Minimize, None. Other arguments take numeric value and desirability arguments.
Choices for role are Continuous, Discrete Numeric, Categorical, Blocking, Covariate, Mixture, Constant, Uncontrolled, Random Block, Signal, and Noise.
Provided for custom uses. Corresponds to Column Properties > Other in the Column Info window.