PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
GetCountryISO (Function)
In french: DonneISOPays
Returns the ISO code of a country that corresponds to its name according to the ISO 3166-1 standard.
Note: 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 : wd240std.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment