エラー「送信にはスクリプト可能なオブジェクトが必要です...」みなさん、データ テーブル内で機能することを意図した非常に単純なスクリプトを試しています。つまり、データ テーブルが既にあり、その中にスクリプトを作成しました (関連性があるかどうかはわかりませんが、 ...)。
以下の column7 から仕様制限を取得しようとしていますが、毎回このエラーが発生します。
"Send は、'Send' のアクセスまたは評価でスクリプト可能なオブジェクトを予期しています, Eval Exp(":" || cols[7]) << /*###*/ Get Property ("Spec Limits") /*###* /"
私が使用しているコードは次のとおりです。
Names Default to Here(1); //This enables any variables to remain local to the script and not interact with any
//pre-defined jmp environment variables.
Delete Symbols(); //Removes the values of any global variables already defined in the jmp enviroment so that
//they don't override any local variable you may define in your script.
clear log ();
cols = Data Table(1) << Get Column Names( numeric, continuous );
Q = Eval Expr(":" || cols[7]) << Get Property( "Spec limits" );スクリプティングRe: エラー「send Expects scriptable object...」これは、Column() 関数を使用して必要なことを行う 1 つの方法です。
Names Default To Here( 1 ); //This enables any variables to remain local to the script and not interact with any
//pre-defined jmp environment variables.
Delete Symbols(); //Removes the values of any global variables already defined in the jmp enviroment so that
//they don't override any local variable you may define in your script.
Clear Log();
cols = Data Table( 1 ) << Get Column Names( numeric, continuous );
Q = column( char(cols[7])) << Get Property( "Spec limits" );