LogiView

Function 'language'

     

This function returns the language setting as a three character string (GER, ENG, or FRA).

This is useful especially when multiple-language fields are being used in order to access a field in the current language.
 

Syntax:

  {STR_VAR}= language()
 

I/O parameters:

-  
-  
 

Return value:

 
{STR_VAR} Set language (GER, ENG, or FRA)
 

Example:

  Declaration of Variables
 

The variable DOCU_STRING_1_DB is defined as follows:

DOCU_STRING_1_DB S 0  strcat("T_MASTER_DAT.PART_NAME_",language()),
 actual) 
  Result:
  Definition of database access of the DOCU_STRING_1_DB string variable (in variable string declaration table). Add "language()" to make procedures and decision tables language independent.

Functions and commands: Miscellaneous