Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0 (home page)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.0 (home page)Version 6.0Version 5.0 (home page)Version 4.0 (home page)

On this page

Named code constants

Keyman 6.0 adds support for single-character stores, or constants, with user-defined names. You can assign a name to a character with a store, and use the name later (prefixed with a $ sign) in place of the character.

Examples

store( g_circumflex )   U+011D     c Define the constant

...

"g" + "^" > $g_circumflex         c Use the constant

Note that only stores containing a single character can be used in this way.

Keyman 6.0 also predefines the Unicode character names as constants. While these are often too long to be practical, they can be conveniently used instead of the code when defining your own constants.

Examples

store( g_circumflex )   $LATIN_SMALL_LETTER_G_WITH_CIRCUMFLEX