错误“发送需要可编写脚本的对象...”大家好,我正在尝试一个非常简单的脚本,该脚本旨在在数据表中运行,换句话说,我已经准备好数据表并在其中创建了一个脚本(不确定这是否相关,但我想我会指定...)。
我正在尝试从下面的第 7 列检索规格限制,并且每次都收到此错误:
“发送在访问或评估‘发送’时需要可编写脚本的对象,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" );脚本回复:错误“发送需要可编写脚本的对象...”这是使用 Column() 函数执行所需操作的一种方法。
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" );