Description
Retrieves the currently active language used by OpenInsight.
Syntax
retval = Get_Language()
Parameters
The function does not have any passable parameters.
Returns
The Language currently used by OpenInsight.
This function retrieves the language from field 15 of the Environment Constants.
| Language Set Used | Return Value |
|---|---|
| ENGLISH | (Null) |
| LND_DEFAULT | |
| LND_ENGLISH | |
| ITALIAN | ITA |
| ITA | |
| SPANISH | ESP |
| GERMAN | DEU |
| FRENCH | FRA |
| Other | Other. (The return value is not intercepted and is returned as is.) |
See also
Set_Language function, GetLanguageName function
Example
/* Suppose the language is set to Italian. When the following line of code is executed currentLanguage will contain "ITA" */ currentLanguage = Get_Language() call msg(@window, currentLanguage)