Thank you superku very much you have always better solutions and very helpful.
But i got another problem. how to ignore a key once it is pressed. I mean once you pressed the key_space it should continue the function ignoring if u kept space key pressed? While(key_space)wait(1); will simply not run the func till u release it. Thanl you
Last edited by romin2011; 01/26/11 18:07.