|
|
|
|
CountryGet (Function) In french: PaysRécupère Returns the Country variable corresponding to an ISO code or to the country caption according to ISO 3166-1. // 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:
|
Unit examples (WINDEV): Country and Continent functions
[ + ] This example shows how to use Country / Continent variables and functions.
|
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|