SET_LANGUAGE country$ or
SET_LANGUAGE [country$] (THOR XVI v6.41 only)
The command SET_LANGUAGE takes a string or name parameter and attempts to change the keyboard layout to the first one with a name of which the given parameter is an abbreviation (this comparison is case-independent). If the parameter is an empty string (or not specified), the next keyboard layout is selected. Ideally, in a program, the full name of the layout would be used for clarity. The search is circular which means that for example, if SET_LANGUAGE d was used, the Danish (Dansk) keyboard layout would be adopted rather than the German (Deutsch) layout, unless the Danish layout was already selected. The current keyboard layouts are supported:
|5||Espanol||Spanish (v4.20+ only)|
|9||Svensk||Swedish (v4.20+ only)|
jump to next keyboard layout in list.
set layout to Spanish layout.
Connected with each keyboard layout, there is also a national translation table, which you will need to install by using the command TRA 1.
On THOR’s equipped with a JS ROM, Français must be enclosed in quotation marks as it is an invalid variable name.
The second variant of the command should not really be used as it is only supported on the v6.41 ROM for the THOR XVI. This has the same effect as:
LANGUAGE$ returns the name of the current keyboard layout in use. Before v6.41 of the THOR XVI, the keys <ALT><SYSREQ> had the same effect as SET_LANGUAGE. On v6.41, this keying was altered to call a Job called Alt_SysReq (Case dependent). LANG_USE allows SMS to use different languages for messages and errors. See also KBD_TABLE.