Retrieves the currently active language used by OpenInsight.
retval = Get_Language()
The function does not have any passable parameters.
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.) |
Set_Language function, GetLanguageName function
/* 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) |