I have to import some text files where comma (,) is used as decimal separator. I don't want to change my settings from English/Use JMP Settings since otherwise my other imports and scripts stop working, so I thought I'd try the new feature in JMP 16.1 (JSL command to Get and Set the Display Language in JMP ) that @Jeff_Perkinson mentioned.
So off I go building my little script :
Get Preferences( Custom Locale Settings );
Preferences( Custom Locale Settings( Decimal Separator(",") ) );
Open(
"myfile",
columns(
...
),
Import Settings(
End Of Line( CRLF, CR, LF ),
End Of Field( Other( "0x3b" ), CSV( 0 ) ),
Strip Quotes( 1 ),
Use Apostrophe as Quotation Mark( 0 ),
Use Regional Settings( 0 ),
Scan Whole File( 1 ),
Treat empty columns as numeric( 0 ),
CompressNumericColumns( 0 ),
CompressCharacterColumns( 0 ),
CompressAllowListCheck( 0 ),
Labels( 0 ),
Column Names Start( 1 ),
Data Starts( 1 ),
Lines To Read( "All" ),
Year Rule( "20xx" )
)
);
But nothing happens- the comma doesn't get recognized as decimal separator and the numeric columns are imported as a character column, which is exactly not what I wanted.
So any help? Is there something wrong in my import settings (I didn't change any standard preferences except that I use semicolon as end of field separator) or did I find a bug?
My JMP version is 16.1 and I use the Windows version, if that helps.