ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Country and Continent functions
  • Properties specific to Continent variables
  • WLanguage functions that use Continent variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Continent type is used to find out the characteristics of a continent. The characteristics of this continent can be:
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Récupération des informations sur l'Europe
oContinent is Continent = ContinentGet(continentEurope)
// Affichage du libellé 
LIB_Continent = oContinent.Name
Properties

Properties specific to Continent variables

The following properties can be used to define the characteristics of Continent variables:
Property nameType usedEffect
CodeCharacter String constantConstant that identifies the continent:
  • continentAfrica Africa (constant is "AF")
  • continentNorthAmerica North America (constant is "NA")
  • continentSouthAmerica South America (constant is "SA")
  • continentAntarctica Antarctica (constant is "AN")
  • continentAsia Asia (constant is "AS")
  • continentEurope Europe (constant is "EU")
  • continentUndefined Continent could not be identified.
  • continentOceania Oceania (constant is "OC")
This property is read-only.
NameCharacter stringName of the continent (in the language of framework).
This property is read-only.
Remarks

WLanguage functions that use Continent variables

ContinentGetReturns the Continent variable that corresponds to one of the following values:
  • a continent constant (2-character continent code),
  • a continent caption.
ContinentListReturns the list of continents.
CountryListReturns the list of all countries or countries of a given continent according to ISO 3166-1.
Related Examples:
Country and Continent functions Unit examples (WINDEV): Country and Continent functions
[ + ] This example shows how to use Country / Continent variables and functions.
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help