Computer Science Canada Please help me exit this loop |
Author: | bushnerd [ Tue Dec 27, 2005 9:21 pm ] | ||
Post subject: | Please help me exit this loop | ||
I am using the getch command and am trying to exit the loop when the box is clicked. Any idea what I am doing wrong, or how to improve this?
thanks |
Author: | MysticVegeta [ Tue Dec 27, 2005 9:29 pm ] |
Post subject: | |
No you dont have to use getch. Check Input.KeyDown if you have Turing 4.0.5 |
Author: | MysticVegeta [ Tue Dec 27, 2005 9:36 pm ] |
Post subject: | |
Also. The mousewhere should be inside the loop because otherwise it would just take one position (thestarting one) |
Author: | bushnerd [ Tue Dec 27, 2005 10:26 pm ] |
Post subject: | |
Thank you, putting the mousewhere inside the loop did the trick. I was justing using the getch command just to get the program to work so that I have to do minor editing in class. We have to use parallelget to get input from a push button box that we will have made. Thanks again. |