xHarbour Reference Documentation > Function Reference |
Associates a code block with multiple keys.
HB_SetKeyArray( <aInkey>, [<bCodeblock>] ) --> NIL
The function returns always NIL.
The function iterates the array <aInkey> and associates the code block <bCodeblock> with each Inkey() code contained in the array. This is equivalent to the following expression:
bBlock := <a code block or NIL> AEval( aInkey, {|nKey| SetKey( nKey, bBlock ) } )
See also: | AEval(), Inkey(), RestSetkey(), SaveSetkey(), SetKey() |
Category: | Environment functions , Keyboard functions , xHarbour extensions |
Source: | rtl\setkey.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com