Variations of the SILENT IGNORE TrapIn some cases, JMP makes it very hard for a user (or AI) to debug the code.
from: https://community.jmp.com/t5/Discussions/AI-scripting-misleading-log/m-p/929994/highlight/true#M108698
@Craige_Hales wrote:
objects ignore messages they don't understand
Automation and ScriptingRe: Variations of the SILENT IGNORE TrapFrom the original post: AI scripting - misleading log ...
dt = Open("$SAMPLE_DATA/Big Class.jmp");
kd = dt << KDTable("hello");
result = kd << K Nearest Rows(1, 3);print("finished");
JMP complains about line 3 :
Object 'Data Table' does not recognize the message 'K Nearest Rows'
the actual error in line 2 is silently ignored.
Re: Variations of the SILENT IGNORE TrapMove Table Script: 1st argument must NOT be a variable
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
script_name = "test";
dt << New Script( script_name, "1" ); //no issue with the variable<BR />
myGroupName = dt << group scripts( today_str, script_name );<BR />// No issue with the variable - even without a list<BR />
dt << Move Selected scripts( script_name, after( "Distribution" ) );<BR />//doesn't understand the variable -> silent ignore