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 UsedReturn Value
ENGLISH(Null)
LND_DEFAULT 
LND_ENGLISH 
ITALIANITA
ITA 
SPANISHESP
GERMANDEU
FRENCHFRA
OtherOther. (The return value is not intercepted and is returned as is.)

See also

Set_Language functionGetLanguageName 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)
  • No labels