| ST_modKey | Function (ROM Call 0xE7)

statline.h

void ST_modKey (short flags);

Sets the modifier key indicator in the status line.

ST_modKey sets the modifier key indicator to nothing, 2nd, shift, diamond, alpha, shifted alpha lock or alpha lock, depending of whehter mode is ST_NONE, ST_2ND, ST_SHIFT, ST_DIAMOND, ST_ALPHA, ST_SH_A_LOCK or ST_A_LOCK (these constants are defined in enum ST_FLAGS). This indicator would be displayed in the status line. This function has a very limited usage, because it is called very often from AutoInt 1, so if interrupts are enabled, the modifier key indicator will be changed very soon depending of actual state of the keyboard.

Uses: ST_eraseHelp, are_expressions_identical, next_expression_index, PortRestore, RestoreScrState, SaveScrState, is0, lead_conjunct_factor_index, remaining_conjuncts_index, ST_flags, WinAttr, WinFill, WinFont, WinStrXY
Used by: EV_defaultHandler, trunc, ROM Call 0x473