Difference between revisions of "GetCountry"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the locale name, corresponding to the Standards and formats setting selected in the Regional Options settings of the Windows XP Control Panel. ==== Usage ==== <synt...")
 
 
Line 1: Line 1:
Returns the locale name, corresponding to the Standards and formats setting selected in the Regional Options settings of the Windows XP Control Panel.
+
Returns the locale name, corresponding to the Standards and formats setting selected in the ''Regional Options'' settings of the Windows XP Control Panel. In Windows 7, these settings can be found in the ''Regional and Language Options'' screen, accessed through the ''Clock, Language, and Region'' section of the Control Panel.
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>GetCountry</syntaxhighlight>  
 
<syntaxhighlight>GetCountry</syntaxhighlight>  
 
   
 
   
==== Example ====
+
== Example ==
<syntaxhighlight>GetCountry will return a string expression "United States" for the setting "English (United States)"</syntaxhighlight>
+
<syntaxhighlight>GetCountry</syntaxhighlight>
 +
Will return a string expression "United States" for the setting "English (United States)".
 
   
 
   
 
 
 
[[Category:Environment Information]]
 
[[Category:Environment Information]]

Latest revision as of 10:22, 9 February 2012

Returns the locale name, corresponding to the Standards and formats setting selected in the Regional Options settings of the Windows XP Control Panel. In Windows 7, these settings can be found in the Regional and Language Options screen, accessed through the Clock, Language, and Region section of the Control Panel.

Usage

GetCountry

Example

GetCountry

Will return a string expression "United States" for the setting "English (United States)".