home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
cenvi
/
keycode.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-03-08
|
380b
|
8 lines
@echo off
REM ****************************************************
REM *** KeyCode - Print values of characters pressed ***
REM *** ver.1 ***
REM ****************************************************
ECHO Press Key to see keyboard value; Press ESCAPE to exit
cenvi do { key = getch(); printf("key=%%04X\n",key) } while(key != '\033')