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>numfkey()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
NUMFKEY()

Syntax:     NUMFKEY()

Returns:    A numeric value.
            The value corresponding to the number of available function
            keys.

Usage:      NUMFKEY() will return the number of function keys available
            that can be used by SET FUNCTION.

Notes:      The value returned by NUMFKEY() will always be 40 if the
            standard IBM or tools driver has been linked into your
            Clipper application.  This value will only change when
            another driver such as ANSI is linked.  Keyboards with 12
            function keys will still only have the use of function
            keys 1 thru 10.

Library:    CT1.LIB


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

Examples:   * Display the values assigned to all function
            * keys.

            FOR i = 1 TO NUMFKEY()
               ? CSETFUNC(i)
            NEXT i



See Also: CSETFUNC()

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