home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource1 / cenvid / keycode.bat < prev    next >
DOS Batch File  |  1993-05-06  |  197b  |  5 lines

  1. @echo off
  2. REM KeyCode - Print values of characters pressed
  3. ECHO Press Key to see keyboard value; Press ESCAPE to exit
  4. cenvi do { key = getch(); printf("key=%%04X\n",key) } while(key != '\033')
  5.