Harbour Reference Guide

 

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
Status

Ready

Compliance

HB_SETKEYSAVE() is new.

Files

Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30