alice-teacher For-loop complicated version doesn't show index change when watching the variable

Carlos Bovell cbovell at nburlington.com
Wed Jan 26 11:06:05 EST 2022


Hi,

We have another bug to report. We're using the show complicated version feature for loops, and I had our class watch the index variable so we could watch it count the iterations. To our surprise, it said "None" the entire time. So we created a myIndex number variable, set its value to equal index somewhere inside the loop and watched that variable change to see for ourselves that index is indeed keeping track of the iterations.

Is there a way to get index to change on the "watch this variable" panel when playing a world?

Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20220126/3bda9ff0/attachment.html>


More information about the alice-teachers mailing list