[comp.sys.ibm.pc] scan codes in MS-C?

ejb@think.uucp (Erik Bailey) (05/17/87)

Go ahead! Eat my line!

I know this probably seems lame, but... I need a function to return the
scan code of a key I hit (MS_C v4.0). If I said:

scan = get_scancode();

then it would wait for the key, and if I hit ESC, get_scancode()
would return 0x01.

adTHANKSvance! --Erik

Erik Bailey         -- 7 Oak Knoll                (USENET courtesy of
ihnp4!think!ejb        Arlington, MA  02174       Thinking Machines Corp.,
ejb@think.com          (617) 643-0732             Cambridge, MA)