DIALOG_PICKFILE() changes locale settings [message #67522] |
Tue, 04 August 2009 05:12 |
Harald Jeszenszky
Messages: 9 Registered: January 1997
|
Junior Member |
|
|
Hello,
I have a problem with floating point numbers in IDL running under Windows XP
(german installation). After starting IDL (Workbench or command line),
floating point numbers are interpreted as expected. Once I open a file
selection dialog, for some reason the locale settings are changed to german
and floating point numbers are no longer displayed and handled properly:
IDL> print, !version
{ x86 Win32 Windows Microsoft Windows 7.1 Apr 21 2009 32 64}
IDL> print, 7.1
7.10000
IDL> file=dialog_pickfile()
IDL> print, 7.1
7,00000
I am not sure if this problem concerns IDL, Eclipse or Windows XP. No other
application shows this behaviour.
Many thanks in advance,
Harald Jeszenszky
|
|
|