How to use column numbers instead of column names in the script?For example: The following script is to select the name, height, and weight column data whose age is 13 years old
How to use the 4th and 5th columns to replace the "height" and "weight" columns in the script?
Thanks for the help!

ScriptingWindows回复: 在脚本中如何用列号来代替列名称?You can use the Column() function
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Where( age == 13 );
dt << Select Columns( "name", "height", "weight" );
d3 = dt << Subset( Output Table( "A" ), Selected Rows( 1 ), columns( column(4), column(5) ));
回复: 在脚本中如何用列号来代替列名称?dt << Select Columns( "name", "height", "weight" );
Could the "height and weight" in this line of code also be replaced with column numbers?
Thanks Experts!