┌──────────────────────────────────────────────────────────────────────┐ │A mnemonic character is a single-byte character even on DBCS OS/2. │ │ │ │An alternative mnemonic can be defined only for Japanese. │ └──────────────────────────────────────────────────────────────────────┘
Even in DBCS OS/2, mnemonic characters are only single-byte characters, not double-byte characters. Alphabetic characters are usually used as mnemonic characters. In addition, Japanese version of DBCS OS/2 allows application programs to define additional mnemonic characters called alternative mnemonics. SBCS Katakana characters are usually assigned to them. Users can dynamically switch mnemonics and alternative mnemonics on PM Control Panel on OS/2 J1.x or at System Setup on OS/2 J2.x.
Note: Korean version and Traditional Chinese version of DBCS OS/2 do not support alternative mnemonics.
┌──────────────────────────────────────────────────────────────────────┐ │How to define a mnemonic at DBCS OS/2 is different from one at SBCS │ │OS/2. │ └──────────────────────────────────────────────────────────────────────┘
In general, to define the mnemonic character is to insert the tilde character (or equivalent one whose code point is 0x7E) in the string preceding the mnemonic character as follows:
MENUITEM "&overline.Open", MIS_TEXT, .....
In addition, DBCS OS/2 allows application programs:
MENUITEM "Open(²036x²037y), MIS_TEXT, ......In the above definition, "x" is the mnemonic character and "y" is the alternative mnemonic character.