|
|
|
|
ContinentGet (Function) In french: ContinentRécupère Returns the Continent variable that corresponds to one of the following values: - a continent constant (2-character continent code),
- a continent caption.
// Retrieve information about Europe oContinent is Continent = ContinentGet(continentEurope) // Display the caption STC_Continent = oContinent.Name
Syntax
<Result> = ContinentGet([<Caption, constant or code of the continent>])
<Result>: Continent variable Continent variable corresponding to the continent caption or code. <Caption, constant or code of the continent>: Optional character string - Caption of the desired continent (English, Spanish or French).
- Constant that identifies the continent (or 2-character continent code):
| | continentAfrica | Africa (constant set to "AF"). | continentAntarctica | Antarctica (constant set to "AN"). | continentAsia | Asia (constant set to "AS"). | continentEurope | Europe (constant set to "EU"). | continentNorthAmerica | North America (constant set to "NA"). | continentOceania | Oceania (constant set to "OC"). | continentSouthAmerica | South America (constant set to "SA"). |
If this parameter is not specified, the system continent will be used.
Related Examples:
|
Unit examples (WINDEV): Country and Continent functions
[ + ] This example shows how to use Country / Continent variables and functions.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|