Data types: language
Represents a language.
Operands of this data type are intended to store the name of a language within a localized, multi-lingual application.
The language literal corresponds to the name of the respective language, or it is Default to explicitly identify the default (fallback) language. The literal can be used within expressions wherever a language operand is expected. The type name language, in turn, is designated to be used in declarations of data members. For example:
var language theLang = Default; // represents the default (fallback) language theLang = Spanish; // now 'theLang' represents the language with // the name 'Spanish'
In addition to the data type language, there exists also a homonymous global built-in variable language that stores the currently selected language in the GUI application.
You can compare two language operands in order to test whether these refer to the same language or not. The following table provides an overview of the possible operations:
Equality test for two language operands.
Inequality test for two language operands.