PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
// Récupération des informations sur la France
oFrance is Country = CountryGet("FR")
// Affichage du libellé
LIB_Pays = oFrance.Name
// Affichage du préfixe de numéro de téléphone
SAI_Téléphone = oFrance.PhoneNumberPrefix
// Affichage drapeau
IMG_Drapeau = oFrance.Flag
// Affichage du continent
LIB_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: wd270std.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment