Table of Contents

Get_Language Function

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
LND_ENGLISH
LND_DEFAULT
(Null)
ITALIAN
ITA
ITA
SPANISHESP
GERMANDEU
FRENCHFRA
OtherOther. (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)