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


Column Name(n) returns the name of the n th column.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Column Name( 2 )[1];
Char( Column Name( 2 ) );
where the optional argument controls the output of the Get Column Names function, as follows:
Specify Numeric, Character, Row State, or Expression to include only those column data types.
Specify "Continuous", "Ordinal", or "Nominal" to include only those modeling types.
Specify String to return a list of strings rather than column names.
For example, if you want to get numeric and continuous columns in the Big Class.jmp sample data table, proceed as follows:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
names = dt << Get Column Names(Numeric, "Continuous")