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%3EUtilizza%20le%20impostazioni%20internazionali%20di%20JMP(%200%20)%20che%20non%20funzionano%20su%20macOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESembra%20che%20il%20seguente%20comando%20non%20funzioni%20per%20JMP%20MacOS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EUtilizza%20le%20impostazioni%20locali%20di%20JMP(%200%20)%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EEsiste%20uno%20script%20generale%20per%20gestire%20il%20seguente%20scenario%3F%20Oppure%20dobbiamo%20inserire%20condizionali%20a%20seconda%20del%20sistema%20operativo%20dell'utente%3F%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%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMac%20OS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efinestre%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