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

Syntax:     LASTKFUNC()

Returns:    A character string.
            Returns the name of the function which placed the character
            in the keyboard buffer: KEYTIME(), KEYSEC() or COM_KEY().

Usage:      This function can be used to determine whether the keycode
            was placed in the keyboard buffer by KEYTIME(), KEYSEC()
            or COM_KEY().

Notes:      If the key was placed by COM_KEY(), a digit is appended to
            the function name which depends on the interface that
            triggered the interrupt.

Library:    CT1.LIB


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

Examples:   trap_func = LASTKFUNC()

            IF trap_func = COM_KEY()
               ? "Interrupt by port" + RIGHT(trap_func,1)
            ENDIF



See Also: COM_KEY() KEYTIME() KEYSEC() LASTKLINE() LASTKPROC()

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