cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

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