May 3, 2007 #1 emaduddeen Programmer Joined Mar 22, 2007 Messages 184 Location US Hi Everyone, Can you tell me how to flush out all characters that are in the keyboard buffer? Thanks, Emad
Hi Everyone, Can you tell me how to flush out all characters that are in the keyboard buffer? Thanks, Emad
May 3, 2007 1 #2 ShankarJ Programmer Joined Aug 9, 2003 Messages 856 Hi Emad, LOOP WHILE KEYBOARD() ASK END Regards Upvote 0 Downvote
May 4, 2007 Thread starter #3 emaduddeen Programmer Joined Mar 22, 2007 Messages 184 Location US Hi ShankarJ, Tried it but it did not seem to remove the enter key which I put in to the buffer. I originally stuffed the buffer using PressKey (EnterKey). Truly, Emad Upvote 0 Downvote
Hi ShankarJ, Tried it but it did not seem to remove the enter key which I put in to the buffer. I originally stuffed the buffer using PressKey (EnterKey). Truly, Emad
May 4, 2007 1 #4 MarkGoldberg Programmer Joined May 31, 2005 Messages 70 Location US It should've worked, but maybe you're more interested in SetKeyCode(0) HTH, Mark Upvote 0 Downvote
May 4, 2007 Thread starter #5 emaduddeen Programmer Joined Mar 22, 2007 Messages 184 Location US Hi Everyone, Your codes work. It was a problem on my end. My code was a bit wrong so I had to add a flag to prevent the code from executing twice. Thanks. Emad Upvote 0 Downvote
Hi Everyone, Your codes work. It was a problem on my end. My code was a bit wrong so I had to add a flag to prevent the code from executing twice. Thanks. Emad