[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CSETFUNC()*
 Queries the setting for SET FUNCTION TO
------------------------------------------------------------------------------
 Syntax

     CSETFUNC(<nFunctionKey>) --> cCharacterString

     *  This function is retained for compatibility purposes.  Use the
        CA-Clipper SET() function to develop future applications.

 Argument

     <nFunctionKey>  Designates the function key for which the associated
     character string is determined.

 Returns

     CSETFUNC() returns the character string associated with <nFunctionKey>.

 Description

     This function queries the setting for SET FUNCTION TO.

 Note

     .  To use this function, you must include the CT.CH file at the
        beginning of your program with the command:

        #include "CT.CH"

        Find more information on this function in CT.CH.

 Example

     The F10 key is assigned to Ctrl-C.  The setting changes in a function
     Test().  Since it is saved, you can restore it upon return:

     SET FUNCTION 10 TO CHR(3)
     cOldFunc  := CSETFUNC(10)      // Save assignment
     Test()                         // Call UDF
     SET FUNCTION 10 TO cOldFunc


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson