Re: 기본 설정이 지정되었는지 확인하는 방법과 방법반환된 값은 기본 설정을 원하는 대로 지정하는 명령입니다. ~이다 순간에.
명령을 문자열로 변환하고 구문 분석하고 옵션이 활성화 또는 비활성화되었는지 확인할 수 있습니다.
returnedString=Char(Get Platform Preference( Control chart builder( K sigma ) ));
Regex(returnedString,"(on|off)","\1")
Re: 기본 설정이 지정되었는지 확인하는 방법과 방법감사해요 @호기 , 완벽하게 작동했습니다. 환경 설정 명령을 변수에 할당한 다음 문자로 캐스트가 작동하지 않아서 짜증이 났습니다. 그러나 그것은 JSL의 마법입니다.
returnedCommand = Get Platform Preference( Control chart builder( K sigma ) );
// this gives nothing:
show(char(returnedCommand));
returnedString=Char(Get Platform Preference( Control chart builder( K sigma ) ));
// this works
show (returnedString);
Re: 기본 설정이 지정되었는지 확인하는 방법과 방법리터럴도 표현식으로 확인할 수 없습니까?
Names default to here(1);
Get Platform Preference( Control chart builder( K sigma ) ) == Expr(Platform Preferences( Control chart builder( K Sigma( 3, <<OFF></OFF>
기본 설정이 지정되었는지 확인하는 방법 및 방법기본 설정이 특정 값으로 설정되어 있는지 확인하고 싶지만 JSL에서는 값을 검색하여 if 문 등에서 비교하고 상황에 따라 반응할 수 없습니다. 기본 설정 가져오기는 무언가를 반환하지만 정확히 무엇이며 어떻게 진행해야 합니까?
Names Default To Here( 1 );
// Task: what is the preference set to
prefs = Get Platform Preference( Control chart builder( K sigma ) );
// hover over prefs shows the result correctly, but how to retrieve it,
// e.g. as a string?
// what type is this? JMP gives no answer
Type( prefs );
// it has a length
length(prefs);
// this does not work
Log Capture( Get Platform Preference( Control chart builder( K sigma ) ) );
고급 통계 모델링자동화 및 스크립팅소비자 및 시장 조사대량 맞춤화