User's Reference > General > TCL and General User Commands > Command Reference > S > SET-LANG

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

SET-LANG (TCL) (m604806+setlang.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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!

RealityV15.0Comment on this topic