Keyboard Input

ENRIQUEZ acs60222 at zach.fit.edu
Fri Jul 21 01:32:53 AEST 1989


I have a simple question regarding keyboard input.  Is is possible to
trap the input (i.e. single character) using a routine such as 

   readln (kbd,char);

in Pascal.

I am tired of getting a bad character AND a \n character when checking
for valid user input.  Also, I don't like having to hit <return> :-(

Thanks.... mark enriquez (acs60222 at zach.UUCP)



More information about the Comp.lang.c mailing list