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


To send several messages, just add more << operators or more Send arguments:
Because << is an eliding operator, it combines arguments and works differently than if its arguments were grouped. You can stack multiple messages with extra << symbols to perform them all in order, from left to right.
These approaches work well assuming that no value is returned as a result of one of your messages. However, if your goal is to send a message to the result of another message, add grouping parenthesis. The second line shows the wrong way to do it; the third line shows how to do it correctly:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
bv = dt << Run Script( "Bivariate" ) << Fit Mean( 1 );
bv2 = ( dt << Run Script( "Bivariate" ) ) << Fit Mean( 1 );