alice-teacher Decrement in a for-loop

Vanderhyde, James vanderhyde at sxu.edu
Tue Jan 30 13:39:08 EST 2018


That is a nice feature request. Some of the control structures have a “change to…” right-click menu option. It would be nice if the “Loop up to” block could change to a “Loop down to” block.

As it is now, it says “up to 5 times” which doesn’t make sense, even for the up direction.

James
—
James Vanderhyde
Assistant Professor, Computer Science
Program Director, Master of Applied Computer Science
Saint Xavier University
3700 W. 103rd St.
Chicago, IL 60655
773-298-3454

On Jan 30, 2018, at 9:08 AM, Carlos Bovell <cbovell at nburlington.com<mailto:cbovell at nburlington.com>> wrote:

Hi,

Is there a way to count down in a for-loop? This is what we're doing but it seems awfully clumsy:



[cid:42806070-ba31-405a-9e42-bda03c3684da]


Carlos Bovell
Mathematics and Computer Science Dept
Northern Burlington HS
<ForLoop intro3 Workaround.JPG>_______________________________________________
alice-teachers mailing list
alice-teachers at lists.andrew.cmu.edu<mailto:alice-teachers at lists.andrew.cmu.edu>
To change settings or unsubscribe visit:
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers

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


More information about the alice-teachers mailing list