안녕하세요,
다음 jsl을 실행할 때 나타나는 JMP 경고 메시지에 대해 도움을 주실 수 있는지 궁금합니다.
//select the data in the original data table
Names Default To Here( 1 );
dt = Current Data Table();
//column names
//part 1. ask user for column names in a new window nw1
//possible Group column name (should be character)
groupby_col_names = dt << Get Column names(character, String);
//possible result column name (should be numeric)
numeric_col_names = dt << Get Column names(Numeric, String);
nw1 = New Window("Generate an EAC Table",
<<MODAL></MODAL>

"확인"을 누르면 코드가 실행되고, "X" 또는 "취소"를 누르면 코드가 실행되지 않습니다. 따라서 프로그램은 의도한 대로입니다.
하지만 이 JMP 경고를 없애려면 어떻게 해야 합니까?
제거하다
nw1 << close window;
"확인" 버튼에서 (창은 모달 창이므로 자동으로 닫힙니다).
일반적으로 모달 창과 비교할 때 << return result를 사용한 다음 window_ref["Button"] != 1을 확인하는 경향이 있습니다.