ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Country and Continent functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the Country variable corresponding to an ISO code or to the country caption according to ISO 3166-1.
Example
// Retrieve information about France
oFrance is Country = CountryGet("FR")
// Display caption
STC_Country = oFrance.Name
// Display phone number prefix
STC_Phone = oFrance.PhoneNumberPrefix
// Display flag
IMG_Flag = oFrance.Flag
// Display continent
STC_Continent = oFrance.Continent.Name
Syntax
<Result> = CountryGet([<Country name or ISO code>])
<Result>: Country variable
Country variable corresponding to the specified caption or ISO code.
<Country name or ISO code>: Optional character string
  • Caption of the desired country (in English, Spanish or French).
  • ISO code of the desired country.
If this parameter is not specified, the system country will be used.
Remarks
To find out the language defined in the options of Windows, use SysNation.
Related Examples:
Country and Continent functions Unit examples (WINDEV): Country and Continent functions
[ + ] This example shows how to use Country / Continent variables and functions.
Business / UI classification: Business Logic
Component: wd290std.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help