SET-LANG

Assigns a defined language to the current port (Denationalisation).

Command Class

TCL-I command.

Syntax

SET-LANG [language-number || language-name || ?]

Syntax Elements

language-number is the number of the language defined in the Language table.

language-name is the name of the language defined in the Language table.

? Returns the name of the language running on your process.

Prompt

If you enter the command without specifying a parameter, the processor prompts:

Language number or name:

Type the language number, name, or a question mark (?) and press RETURN.

If you enter ?, both the language number and name are returned. The system then prompts you again for Language number or name.

Error Message

If the specified language has not been defined, Reality does not change the port's language but displays the following error message:

[9105] Language 'language' has not been defined.

Examples

:SET-LANG FRENCH
[9109] Language 'FRENCH' assigned!
:SET-LANG 1
[9109] Language 'FRENCH' assigned!
:SET-LANG
Language number or name:?
0.  ENGLISH
Language number or name:FRENCH
[9109] Language 'FRENCH' assigned!