alice-teacher s Digest, Vol 47, Issue 2

Robert Durtschi robert.durtschi at gcsu.edu
Tue Jun 3 21:24:59 EDT 2014


It may be obvious but you also need to preset the variable answer to "yes".  Alice does not support a repeat/until
________________________________________

   1. Re:  while loop ? (Wanda Dann)


----------------------------------------------------------------------

Message: 1
Date: Tue, 03 Jun 2014 11:35:58 -0400
From: Wanda Dann <wpdann at andrew.cmu.edu>
On 6/2/2014 10:25 AM, JOHNSON JULIE M. wrote:
>
> How do you get the while (ans == "yes") to work in Alice 3.1
>
>
> Create a String property for the Scene class, named "answer".  Then,
> select "String comparison" in the while loop's conditional pull-down
> menu, as shown here:
>
String comparison




More information about the alice-teachers mailing list