I'm having trouble with the input command and keyhit commands.
for example, I'm running my program, I press 'h' to do something, and later I do an input(), and there is an 'h' in my input line already, so I have to backspace through it, and then type what I needed to type. This becomes doubly troublesome when I use ENTER for something, and then do an input, because it takes any letters from previous keyhits and then does my ENTER, so I may end up with "wtwtws" in my input, then it enters it because I pressed enter earlier.
Does anybody know how to fix this?
Thanks for any help.
for example, I'm running my program, I press 'h' to do something, and later I do an input(), and there is an 'h' in my input line already, so I have to backspace through it, and then type what I needed to type. This becomes doubly troublesome when I use ENTER for something, and then do an input, because it takes any letters from previous keyhits and then does my ENTER, so I may end up with "wtwtws" in my input, then it enters it because I pressed enter earlier.
Does anybody know how to fix this?
Thanks for any help.