ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Country and Continent functions
  • Properties specific to 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.
Example
// Retrieve information about Europe
oContinent is Continent = ContinentGet(continentEurope)
// Display the caption
STC_Continent = oContinent.Name
Remarks

Properties specific to Continent variables

The following properties can be used to handle Continent variables:
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

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: 06/23/2023

Send a report | Local help