Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 17.0 (home page)Version 16.0 (home page, current version)Version 15.0 (home page)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0 (home page)Version 7.0Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)

Index

On this page

Named Constants

Named constants allow you to use a descriptive name for a character, instead of its code. To define a named constant, use store(name) code. When you wish to refer to the code, use $name.

The dollar referencing can only be used with named constants. You cannot use it for stores that have more than one character in them, or for keys or other non-character stores. Named constants are supported for characters above plane 0.

Named constants can also be loaded from a file with the store(&includecodes) statement. For instance, the Unicode Character Names can be used by referencing unicodedata.txt.

Example
store(CCedilla) U+00E7
+ [RALT K_C] > $CCedilla
      
Versions

Named constants were introduced in Keyman 6.0.

Related Topics