如何檢查是否設置了首選項以及如何設置我想檢查首選項是否設置為某個值,但是使用 JSL 我無法檢索該值以在 if 語句等中進行比較並根據情況做出反應。 Get Preferences 會返回一些東西,但它到底是什麼以及如何處理呢?
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 ) ) );
腳本