hb_SetKeySave()

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()

Advertisements

3 responses to “hb_SetKeySave()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour Set Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s