Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>csetfunc()*</b> http://www.X-Hacker.org [<<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


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson