HB_SETKEYSAVE()
Returns a copy of internal set-key list, optionally overwriting
Syntax
HB_SETKEYSAVE( [ <OldKeys> ] )
Arguments
<OldKeys> is an optional set-key list from a previous call to HB_SetKeySave(), or NIL to clear current set-key list
Returns
Current set-key list
Description
HB_SetKeySave() is designed to act like the set() function which returns the current state of an environment setting, and optionally assigning a new value. In this case, the “environment setting” is the internal set-key list, and the optional new value is either a value returned from a previous call to SetKeySave() – to restore that list, or the value of NIL to clear the current list.
Examples
LOCAL aKeys := HB_SetKeySave( NIL ) // removes all current set=keys ... // some other processing HB_SetKeySave( aKeys )
Tests
None definable
Compliance
Harbour
Files
Library is rtl
Seealso
SETKEY()
Pingback: Harbour All Functions – H | Viva Clipper !
Pingback: Harbour Set Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !