cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Variations of the SILENT IGNORE Trap

In 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#M1086... 


 @Craige_Hales wrote:

objects ignore messages they don't understand 




2 REPLIES 2
hogi
Level XIII

Re: Variations of the SILENT IGNORE Trap

From 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.

hogi
Level XIII

Re: Variations of the SILENT IGNORE Trap

Move 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
myGroupName = dt << group scripts( today_str, script_name );
// No issue with the variable - even without a list
dt << Move Selected scripts( script_name, after( "Distribution" ) );
//doesn't understand the variable -> silent ignore

 

Recommended Articles