Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CC.LIB - ClipCode CLIPPER S'87 Library - <b>inkey() / lastkey() values</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 INKEY() / LASTKEY() values
-------------------------------------------------------------------------------
 Cursor Movement Keys                         alternate
-------------------------------------------------------------------------------
 Uparrow              5    K_UP               Ctrl+E
 Dnarrow             24    K_DOWN             Ctrl+X
 Leftarrow           19    K_LEFT             Ctrl+S
 Rightarrow           4    K_RIGHT            Ctrl+D
 Home                 1    K_HOME             Ctrl+A
 End                  6    K_END              Ctrl+F
 PgUp                18    K_PGUP             Ctrl+R
 PgDn                 3    K_PGDN             Ctrl+C
 Ctrl+Leftarrow      26    K_CTRL_LEFT        Ctrl+Z
 Ctrl+Rightarrow      2    K_CTRL_RIGHT       Ctrl+B
 Ctrl+Home           29    K_CTRL_HOME        Ctrl+]
 Ctrl+End            23    K_CTRL_END         Ctrl+W
 Ctrl+PgUp           31    K_CTRL_PGUP        Ctrl+Hyphen
 Ctrl+PgDn           30    K_CTRL_PGDN        Ctrl+^         Ctrl+6
 Ctrl+Return         10    K_CTRL_RET
 Ctrl+ScrollLock      3    K_CTRL_C
 Esc                 27    K_ESC              Ctrl+[
 Return              13    K_RETURN           Ctrl+M
 Enter               13    K_ENTER            Ctrl+M

-------------------------------------------------------------------------------
 Editing Keys                                 alternate
-------------------------------------------------------------------------------
 Del                  7    K_DEL              Ctrl+G
 Tab                  9    K_TAB              Ctrl+I
 Shift+Tab          271    K_SH_TAB
 Ins                 22    K_INS              Ctrl+V
 Backspace            8    K_BS               Ctrl+H
 Ctrl+Backspace     127    K_CTRL_BS

-------------------------------------------------------------------------------
 Function Keys                                alternate
-------------------------------------------------------------------------------
 F1                  28    K_F1               Ctrl+\
 F2                  -1    K_F2
 F3                  -2    K_F3
 F4                  -3    K_F4
 F5                  -4    K_F5
 F6                  -5    K_F6
 F7                  -6    K_F7
 F8                  -7    K_F8
 F9                  -8    K_F9
 F10                 -9    K_F10

-------------------------------------------------------------------------------
 Alt+Keys                             | Ctrl+Keys
--------------------------------------+----------------------------------------
 Alt+1              376    K_ALT_1    |
 Alt+2              377    K_ALT_2    | Ctrl+2             259    K_CTRL_2
 Alt+3              378    K_ALT_3    |
 Alt+4              379    K_ALT_4    |
 Alt+5              380    K_ALT_5    |
 Alt+6              381    K_ALT_6    | Ctrl+6              30    K_CTRL_6
 Alt+7              382    K_ALT_7    |
 Alt+8              383    K_ALT_8    |
 Alt+9              384    K_ALT_9    |
 Alt+0              385    K_ALT_0    |
 Alt+A              286    K_ALT_A    | Ctrl+A               1    K_CTRL_A
 Alt+B              304    K_ALT_B    | Ctrl+B               2    K_CTRL_B
 Alt+C              302    K_ALT_C    | Ctrl+C               3    K_CTRL_C
 Alt+D              288    K_ALT_D    | Ctrl+D               4    K_CTRL_D
 Alt+E              274    K_ALT_E    | Ctrl+E               5    K_CTRL_E
 Alt+F              289    K_ALT_F    | Ctrl+F               6    K_CTRL_F
 Alt+G              290    K_ALT_G    | Ctrl+G               7    K_CTRL_G
 Alt+H              291    K_ALT_H    | Ctrl+H               8    K_CTRL_H
 Alt+I              279    K_ALT_I    | Ctrl+I               9    K_CTRL_I
 Alt+J              292    K_ALT_J    | Ctrl+J              10    K_CTRL_J
 Alt+K              293    K_ALT_K    | Ctrl+K              11    K_CTRL_K
 Alt+L              294    K_ALT_L    | Ctrl+L              12    K_CTRL_L
 Alt+M              306    K_ALT_M    | Ctrl+M              13    K_CTRL_M
 Alt+N              305    K_ALT_N    | Ctrl+N              14    K_CTRL_N
 Alt+O              280    K_ALT_O    | Ctrl+O              15    K_CTRL_O
 Alt+P              281    K_ALT_P    | Ctrl+P              16    K_CTRL_P
 Alt+Q              272    K_ALT_Q    | Ctrl+Q              17    K_CTRL_Q
 Alt+R              275    K_ALT_R    | Ctrl+R              18    K_CTRL_R
 Alt+S              287    K_ALT_S    | Ctrl+S              19    K_CTRL_S
 Alt+T              276    K_ALT_T    | Ctrl+T              20    K_CTRL_T
 Alt+U              278    K_ALT_U    | Ctrl+U              21    K_CTRL_U
 Alt+V              303    K_ALT_V    | Ctrl+V              22    K_CTRL_V
 Alt+W              273    K_ALT_W    | Ctrl+W              23    K_CTRL_W
 Alt+X              301    K_ALT_X    | Ctrl+X              24    K_Ctrl_X
 Alt+Y              277    K_ALT_Y    | Ctrl+Y              25    K_Ctrl_Y
 Alt+Z              300    K_ALT_Z    | Ctrl+Z              26    K_CTRL_Z

-------------------------------------------------------------------------------
Shift+Function Keys        Ctrl+Function Keys          Alt+Function Keys
-------------------------------------------------------------------------------
Shift+F1   -10  K_SH_F1  | Ctrl+F1   -20  K_CTRL_F1  | Alt+F1   -30  K_ALT_F1
Shift+F2   -11  K_SH_F2  | Ctrl+F2   -21  K_CTRL_F2  | Alt+F2   -31  K_ALT_F2
Shift+F3   -12  K_SH_F3  | Ctrl+F3   -22  K_CTRL_F3  | Alt+F3   -32  K_ALT_F3
Shift+F4   -13  K_SH_F4  | Ctrl+F4   -23  K_CTRL_F4  | Alt+F4   -33  K_ALT_F4
Shift+F5   -14  K_SH_F5  | Ctrl+F5   -24  K_CTRL_F5  | Alt+F5   -34  K_ALT_F5
Shift+F6   -15  K_SH_F6  | Ctrl+F6   -25  K_CTRL_F6  | Alt+F6   -35  K_ALT_F6
Shift+F7   -16  K_SH_F7  | Ctrl+F7   -26  K_CTRL_F7  | Alt+F7   -36  K_ALT_F7
Shift+F8   -17  K_SH_F8  | Ctrl+F8   -27  K_CTRL_F8  | Alt+F8   -37  K_ALT_F8
Shift+F9   -18  K_SH_F9  | Ctrl+F9   -28  K_CTRL_F9  | Alt+F9   -38  K_ALT_F9
Shift+F10  -19  K_SH_F10 | Ctrl+F10  -29  K_CTRL_F10 | Alt+F10  -39  K_ALT_F10
-------------------------------------------------------------------------------
NOTE!:    *  Use LASTKEY()  to read alt-D
          ** SETCANCEL(.F.) to read alt-C
             Use CLEARLKEY() to clear a LASTKEY() value
-------------------------------------------------------------------------------

See Also: ASCII Special Characters Line Drawing Color Table

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