Macro Language Reference > Macros > System > langdef
  
langdef
Description
Used internally by PTC ALD in the slukwin.3ad system file to define the layout of characters for the input language used. Different languages can be accessed via langkey. Part of PTC ALD default langdef macro for the PTC ALD -ISO keyboard layout is shown below, as it appears in slukwin.3ad.
 
Example 236. Example of a keyboard language definition
The following example of a keyboard language definition is taken from the slukwin.3ad system file:
langdef "ISO",0,0
$ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
$ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
$ '' '!' '"' '#' '$' '%' '<xslt.entity name="&"/>' 39
. . .
$'x''y''z''{''|''}''~'252
$ 180 207 197 192 204 200 212 181
. . .
$ 240 254 242 243 244 245 246 247
$ 179 249 250 251 252 253 252 255
Syntax
langdef lang_name:t lang_num:n arabic:n
lang_name
The name of the language being defined
lang_num
The number of the language
arabic
0
Latin (read from left to right)
1
Arabic (read from right to left)