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

 DESCRIPTION

 C_CTRL() returns the Clipper INKEY() code equivalent for the given
 CTRL key combination.

 SYNTAX

 c_ctrl(key)

 PARAMETERS

 key (C) is the CTRL key combination (A-Z or a-z) as a character string.

 RETURNS

 C_CTRL() returns the numeric INKEY() code.

 EXAMPLES

 && Sets key 16 (CTRL+P) to procedure prtproc
 set key c_ctrl('P') to prtproc
 ...
 ...
 ...
 key = inkey(0)
 if key = c_ctrl('X')    && Use C_CTRL() to evaluate a key code
   exit
 endif


See Also: C_ALT()

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