View Single Post
Old
wbarnum
Member
 
Status: Offline
Posts: 20
Join Date: Jun 2015
Default 08-21-2015, 03:41 PM

Quote:
Originally Posted by MrMoke View Post
User Error.
You don't need the while statement, just an if.
Examine the "add details" options in the header of the key press event, and experiment with those to see what happens.

http://www.alice.org/3.1/materials_videos.php
Using an if has other undesirable consequences.

Is there any reason from a computer science perspective that a while loop shouldn't work here?

Last edited by wbarnum; 08-21-2015 at 03:59 PM.
   
Reply With Quote