Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 6.0

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