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
GetCountryISO (Function)
In french: DonneISOPays
Warning
From version 25, this function is kept for backward compatibility. We recommend that you use Continent and country management functions.
Returns the ISO code of a country that corresponds to its name according to ISO 3166-1.
Remark: It is also possible to get the ISO code of a country corresponding to a different type of ISO code (for example, the 2-letter ISO code corresponding to a numeric ISO code).
Example
// France ISO code
sFranceISOCode is string = GetCountryISO("France")
Syntax
<Result> = GetCountryISO(<Country name or ISO code> [, <Type of ISO code>])
<Result>: Character string
Country ISO code.
<Country name or ISO code>: Character string
  • Country ISO name.
  • Country ISO code. The coding of this ISO code is different from the desired type of coding.
<Type of ISO code>: Optional Integer constant
Type of ISO code returned:
lcAlpha2CodeAlphabetical ISO code on 2 characters.
lcAlpha3CodeAlphabetical ISO code on 3 characters.
lcNumericCodeNumeric ISO code.
Component: wd290std.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help