Computer Science Canada program proplem! |
Author: | nin [ Tue Jan 09, 2007 9:45 pm ] | ||
Post subject: | program proplem! | ||
my program is suppose to let the user guess between the numbers 10 and 65 and when the user puts in a number that is less than or above the numbers 10 and 65 it will show an error message (error messages do not count as tries). When i ran my program it paused when it was only my first try ![]() my code is below: __________________________________________________________________________
|
Author: | CodeMonkey2000 [ Tue Jan 09, 2007 9:54 pm ] |
Post subject: | Re: program proplem! |
Funny it works fine for me... |
Author: | nin [ Tue Jan 09, 2007 9:56 pm ] |
Post subject: | Re: program proplem! |
but wen i tried it at skool and at home it did the same thing =/ |
Author: | Clayton [ Tue Jan 09, 2007 9:59 pm ] |
Post subject: | Re: program proplem! |
what was the exact error you got in the WidgetModule? also, it might be helpful if you tell us what version of Turing you are using. |
Author: | neufelni [ Tue Jan 09, 2007 10:15 pm ] |
Post subject: | RE:program proplem! |
It works on for me about half the time. Sometimes it works fine but sometimes after I guess wrong, the program just stops doing anything rather than clearing the screen and letting me guess again. |
Author: | nin [ Wed Jan 10, 2007 8:46 am ] |
Post subject: | Re: program proplem! |
im using turing 4.0.5 and on the widget thing the error that was highlighted was "delay (3)" and the error that was said at the buttom was "Program interrupted" |
Author: | nin [ Wed Jan 10, 2007 8:49 am ] |
Post subject: | Re: RE:program proplem! |
Nick @ Tue Jan 09, 2007 10:15 pm wrote: It works on for me about half the time. Sometimes it works fine but sometimes after I guess wrong, the program just stops doing anything rather than clearing the screen and letting me guess again.
yeah i agree wit him.. |
Author: | ericfourfour [ Wed Jan 10, 2007 5:04 pm ] |
Post subject: | Re: program proplem! |
You get that error because you closed the run window. The most likely place for your program to stop is at a delay because that is where it spends most of its time. |