Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>check key for upper/lower case, control or alt letter</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Check Key for Upper/Lower case, Control or Alt Letter
------------------------------------------------------------------------------

 Syntax

         GT_checkKey(<nKVal>, <cChkLetter>) --> lRet

 Arguments:

       <nKVal>       - the inkey() value
       <cChkLetter>  - the letter to check for

 Returns:

       lRet          - .T. if cChkLetter is pressed

 Description:

       This function checks an inkey value against a letter to see
       if that letter has been pressed.
       Detects lower and uppercase, CTRL letter and ALT letter.

 Examples:

 Source: CHKKEY.PRG

 Author:  Andy M Leighton

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