如何检查是否设置了首选项以及如何设置我想检查首选项是否设置为某个值,但是使用 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 ) ) );
脚本