Post Reply 
why doesn't GETKEY work with WAIT (solved)
10-26-2015, 08:24 AM
Post: #2
RE: why doesn't GETKEY work with WAIT
When you press a key WAIT(-1) returns the key code, you don't need GETKEY after that.
Try to replace:
Code:
  REPEAT
  //WAIT(−1);
  UNTIL GETKEY==4 ;//UNRELIABLE
by:
Code:
  REPEAT UNTIL WAIT(−1)==4 ;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: why doesn't GETKEY work with WAIT - Didier Lachieze - 10-26-2015 08:24 AM



User(s) browsing this thread: 1 Guest(s)