Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>csetfunc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CSETFUNC()

Syntax:     CSETFUNC(<expN>)

Arguments:  <expN> corresponds to the number of the function key.

Returns:    A character string.
            The return value corresponds to the string assigned to the
            <expN> function key.

Usage:      CSETFUNC() can be used to determine the string currently
            assigned to the <expN> key.

Notes:      The argument must be specified for this function.  The
            numbers of the function keys correspond to those in the
            Clipper manual.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Key F10 is assigned to Ctrl-C.
            SET FUNCTION 10 TO CHR(3)
            old_func = CSETFUNC(10)             && Store assignment

            * Call a procedure that changes the assignment.
            DO ...
            SET FUNCTION 10 TO old_func         && Restores the old
                                                && assignment.



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