xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

CSetKey()

Retrieves the code block associated with a key.

Syntax

CSetKey( <nKey> ) --> bCodeBlock

Arguments

<nKey>
This is the numeric Inkey() code of the key to query for an associated code block. Refer to the file Inkey.ch for #define constants that can be used for <nKey>.

Return

The function returns the code block associated with a key, or NIL, if the key is not associated with a code block.

Info

See also:SET KEY, SetKey()
Category: CT:Settings , Environment functions
Source:ct\ctmisc.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe