[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LASTKPROC()
 Returns the procedure name that was interrupted
------------------------------------------------------------------------------
 Syntax

     LASTKPROC() --> cProcedureName

 Returns

     LASTKPROC() returns the name of the procedure or function (KEYTIME(),
     KEYSEC(), COM_KEY(), or COM_SKEY()) that places a character in the
     keyboard buffer when executed.

 Description

     CA-Clipper Tools notices when other procedures or functions encounter an
     interrupt.  LASTKPROC() does not return the procedure name triggered by
     an input field key trap (as with GET..READ); instead, it returns the
     procedure name that was interrupted.

 Note

     .  This function also returns the names of user-defined functions
        (UDFs).

 Example

     Return the procedure name that was interrupted:

     IF LASTKPROC() = "INPUT"
        * Note to user
        @ 24, 30 SAY "One moment please!"
     ENDIF


See Also: LASTKFUNC() LASTKLINE() KEYTIME() KEYSEC() COM_KEY()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson