Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>lastkproc()</b> http://www.X-Hacker.org [<<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()

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