home *** CD-ROM | disk | FTP | other *** search
- /* CHESS FUNCTION(S): HEXKEY.CHS -- standalone program
- /* DATE: 3/1/93
- /* AUTHOR: C. Schanck
- /*
- /* DESCRIPTION: this routine functions the same as HEXKEY.COM;
- /* it displays the hex and decimal value of a keystroke.
- {
- int i;
- msg("Press any key ... (Escape exits)");
- i=getkey();
- while((i%256)!=27){
- msg("Value is %04lx [%06ld] ... Press another key ... (Escape exits)",i,i)
- i=getkey();
- }
- }