침묵 무시 함정의 변형어떤 경우에는 JMP가 사용자(또는 AI)가 코드를 디버깅하는 것을 매우 어렵게 만듭니다.
출처: https://community.jmp.com/t5/Discussions/AI-scripting-misleading-log/mp/929994/highlight/true#M108698
@Craige_Hales 님 이 작성했습니다:
객체는 이해하지 못하는 메시지를 무시합니다.
자동화 및 스크립팅제목: 침묵 무시 함정의 변형원문 게시글: AI 스크립팅 - 오해의 소지가 있는 로그...
dt = Open("$SAMPLE_DATA/Big Class.jmp");
kd = dt << KDTable("hello");
result = kd << K Nearest Rows(1, 3);print("finished");
JMP는 3번째 줄에 대해 오류를 표시합니다.
Object 'Data Table' does not recognize the message 'K Nearest Rows'
2번째 줄의 실제 오류는 아무런 경고 없이 무시됩니다.
제목: 침묵 무시 함정의 변형테이블 이동 스크립트: 첫 번째 인수는 변수가 아니어야 합니다.
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