J
JM
Hi,
I need a function for a character based program (console) that works exactly
like the INKEY$() function in (old) QBasic: Read only 1 keystroke and then
move on. Console.Read; Console.ReadLine;.... all read input until the user
hits <Enter>.
For example, if you get the question "Do you wish to continue? (Y/N)", from
the moment the user presses his "Y" key, I want to continue.
I haven't found a function in the console class that will do this.
Can someone please help me to acompish this? It MUST be possible, no? Maybe
through winAPI?
Thanks in advance,
JFM
PS: Please do not reply by e-mail as the e-mailaddress I entered is fake,
I'm already getting way too much spam!
I need a function for a character based program (console) that works exactly
like the INKEY$() function in (old) QBasic: Read only 1 keystroke and then
move on. Console.Read; Console.ReadLine;.... all read input until the user
hits <Enter>.
For example, if you get the question "Do you wish to continue? (Y/N)", from
the moment the user presses his "Y" key, I want to continue.
I haven't found a function in the console class that will do this.
Can someone please help me to acompish this? It MUST be possible, no? Maybe
through winAPI?
Thanks in advance,
JFM
PS: Please do not reply by e-mail as the e-mailaddress I entered is fake,
I'm already getting way too much spam!