|
Re: Programming Error
You have a While loop that should normally, by default, keep you running when the Run button is pushed.
The default for such a loop is "Stop if True" (looks like the left picture below).
Did you by any chance change it to a "Continue if True" (the middle picture)?
Either type can be used, but you have to be careful to have the correct default value going in. In one case it should default to True, while in the other it should default to False. That's a common reason for the program to run only once (taking only milliseconds to complete). People sometimes change the loop type, but forget to reverse the default True/False. In the middle case below, the loop will run only once (very fast) because the button feeding it would have to be held down to make it loop.
For instance, the third picture is what the Basic Framework uses and it keeps the loop going because it defaults to True and uses "Continue if True."
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 25-02-2009 at 15:43.
|