cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E4%BD%BF%E7%94%A8%20JMP%20%E5%8C%BA%E5%9F%9F%E8%AE%BE%E7%BD%AE%20(0)%20%E5%9C%A8%20macOS%20%E4%B8%8A%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%E4%BC%BC%E4%B9%8E%E4%B8%8D%E9%80%82%E7%94%A8%E4%BA%8E%20JMP%20MacOS%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%E4%BD%BF%E7%94%A8%20JMP%20%E5%8C%BA%E5%9F%9F%E8%AE%BE%E7%BD%AE%20(%200%20)%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%E6%9C%89%E6%B2%A1%E6%9C%89%E4%B8%80%E4%B8%AA%E9%80%9A%E7%94%A8%E7%9A%84%E8%84%9A%E6%9C%AC%E6%9D%A5%E5%A4%84%E7%90%86%E4%BB%A5%E4%B8%8B%E5%9C%BA%E6%99%AF%EF%BC%9F%20%E6%88%96%E8%80%85%E6%88%91%E4%BB%AC%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E6%A0%B9%E6%8D%AE%E7%94%A8%E6%88%B7%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E6%B7%BB%E5%8A%A0%E6%9D%A1%E4%BB%B6%EF%BC%9F%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%20%2F%2F%20Configuring%20JMP%20to%20save%20CSV%20as%20commas%20and%20not%20%0A%20%0A%20If(%20(Num(%20%223.14%22%20)%20%3D%3D%203.14)%2C%0A%20%20is_EN_num_format%20%3D%201%2C%20%2F%2F%22English%20numeric%20format%22%0A%20%20is_EN_num_format%20%3D%200%20%2F%2F%22Non-english%22)%3B%0A%20%20)%3B%0A%20%0A%20If(%20is_EN_num_format%20%3D%3D%200%2C%20%0A%20%20Preferences(%20Use%20JMP%20Locale%20Settings(%200%20)%20))%3B%0A%0A%2F%2F%20code%0A%0A%2F%2F%20Setting%20back%20the%20formatting%20of%20numbers%20to%20its%20original%0A%20If(%20is_EN_num_format%20%3D%3D%200%2C%20%0A%20Preferences(%20Use%20JMP%20Locale%20Settings(%201%20)%20))%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8A%A8%E5%8C%96%E5%92%8C%E8%84%9A%E6%9C%AC%E7%BC%96%E5%86%99%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E8%8B%B9%E6%9E%9C%E7%B3%BB%E7%BB%9F%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E8%A7%86%E7%AA%97%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
FN
FN
Level VI

Use JMP Locale Settings( 0 ) not working on macOS

It seems the following command does not work for JMP MacOS.

 

Use JMP Locale Settings( 0 )

 

Is there a general script to deal with the following scenario? Or do we need to put conditionals depending on the OS of the user?

// Configuring JMP to save CSV as commas and not 
	
	If( (Num( "3.14" ) == 3.14),
		is_EN_num_format = 1, //"English numeric format"
		is_EN_num_format = 0 //"Non-english");
		);
	
	If( is_EN_num_format == 0,	
		Preferences( Use JMP Locale Settings( 0 ) ));

// code

// Setting back the formatting of numbers to its original
	If( is_EN_num_format == 0,	
	Preferences( Use JMP Locale Settings( 1 ) ));
0 REPLIES 0