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.
// 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 name | Type used | Effect |
---|
Code | Character String constant | Constant 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. |
Name | Character string | Name of the continent (in the language of framework). This property is read-only. |
WLanguage functions that use Continent variables
| |
ContinentList | Returns the list of continents. |
ContinentGet | Returns the Continent variable that corresponds to one of the following values: - a continent constant (2-character continent code),
- a continent caption.
|
CountryList | Returns the list of all countries or countries of a given continent according to ISO 3166-1. |