The LOCALE_GET function returns the current locale of the operating system.
Syntax
Result = LOCALE_GET( /LC_NUMERIC, /LC_TIME, /PROCESS )
Return Value
Returns a string containing the current operating system locale.
Arguments
None
Keywords
LC_NUMERIC
By default LOCALE_GET returns the LC_CTYPE locale, which is the locale used for character and string formatting. Set the LC_NUMERIC keyword to instead return the LC_NUMERIC locale, which is used for number formatting.
LC_TIME
By default LOCALE_GET returns the LC_CTYPE locale, which is the locale used for character and string formatting. Set the LC_TIME keyword to instead return the LC_TIME locale, which is used for date and time formatting.
PROCESS
By default LOCALE_GET returns the locale of the operating system. Set the PROCESS keyword to instead return the locale of the IDL process. Normally this will be "C", indicating the C programming language.
Version History
5.2.1 |
Introduced |
8.4.1 |
Added LC_NUMERIC, LC_TIME, PROCESS keywords
|
See Also
LOCALE_SET