Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>set function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET FUNCTION


Syntax:     SET FUNCTION <expN> TO <expC>

Purpose:    To assign a character string to a function key.

Argument:   <expN> is the function key number.

            <expC> is the character string to assign to a function
            key.

Usage:      SET FUNCTION assigns a character string to a function key,
            which when pressed, stuffs the keyboard.  The string that is
            assigned may contain control characters, such as a Ctrl-C
            (the equivalent of PgDn), to complete a READ.

            Function keys between 1 and 40 inclusive can be assigned
            using this command.  At start-up, F1 is assigned with SET
            KEY to invoke Help.  To assign it with SET FUNCTION, you
            must first cancel the SET KEY definition.


            Table: List of Function Key Mappings
            ------------------------------------------------
               Function Key         Actual Key
            ------------------------------------------------
                1 - 10              F1 - F10
               11 - 20              Shift-F1 - Shift-F10
               21 - 30              Ctrl-F1 - Ctrl-F10
               31 - 40              Alt-F1 - Alt-F10
            ------------------------------------------------

            Precedence: SET KEY definitions take precedence over SET
            FUNCTION assignment for the same keys.

Library:    CLIPPER.LIB

See Also: SET KEY

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