PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of Continent variables
  • WLanguage functions that use Continent variables
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
The Continent type is used to find out the characteristics of a continent. The characteristics of this continent can be:
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
New in version 27
Android Widget This type of variable is now available in Android Widget mode.
Android This type of variable is now available for Android applications.
Example
// Retrieve information about Europe
oContinent is Continent = ContinentGet(continentEurope)
// Display the caption
STC_Continent = oContinent.Name
Remarks

Properties specific to the description of Continent variables

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

WLanguage functions that use Continent variables

ContinentListReturns the list of continents.
ContinentGetReturns the Continent variable that corresponds to one of the following values:
  • a continent constant (2-character continent code),
  • a continent caption.
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