Hey there. I've been trying to make a loop to make something work, and I would like it to stop when X key is pressed.
So I was thinking it could work like:
Do While Not (key is down):
---stuff I want done goes here
endOfLoop
But so far I've been unsucessful on my attempts.
Here's a screenshot of the last one, maybe someone could give me a hand.
Thanks in advance.
<img src="http://imageshack.us/a/img690/1530/whilenot.png" border="0" />