Valutazione attuale: 0 / 5

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
 

hb_SetKeySave()

Returns a copy of internal set-key list, optionally overwriting
Syntax
hb_SetKeySave( [ <OldKeys> ] )
Argument(s)
<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.
Example(s)
LOCAL aKeys := hb_SetKeySave( NIL )  // removes all current set=keys
... // some other processing
hb_SetKeySave( aKeys )
Status
Ready
Compliance
This is Harbour specific
File(s)
Library is core
See also

SetKey()