Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_keycode() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_KEYCODE()

 DESCRIPTION

 The C_KEYCODE() function pauses the program and waits for a
 keystroke.  After receiving a keystroke, it returns the scan code
 for the key pressed.  (Refer to Appendix B for a complete list of
 C_KEYCODE() values.)

 SYNTAX

 C_KEYCODE()

 PARAMETERS

 There are no parameters.

 RETURNS

 C_KEYCODE() returns the numeric scan code (see Appendix B) of the
 key pressed.

 EXAMPLES

 do while .t.
   key = c_keycode()      && Wait for key, get scan code
   if key = 232           && If key is 232 (Alt+D), exit
     exit
   endif
 enddo


See Also: C_GETTEXT() C_PROMPT() C_QINPUT()

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