Thread
:
While Loop and Keypress Listener
View Single Post
#
3
(permalink)
wbarnum
Member
Status:
Offline
Posts: 20
Join Date: Jun 2015
08-21-2015, 02:41 PM
Quote:
Originally Posted by
MrMoke
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
02:59 PM
.
wbarnum
View Public Profile
Send a private message to wbarnum
Find all posts by wbarnum