alice-teacher events without if statements

Don Slater don at alice.org
Tue Feb 18 12:36:38 EST 2020


James,
It seems that I have been nothing but a disappointment to you this week. There really is not a way that I have found to implement the functionality that you are looking for.

Perhaps the community has thoughts?

All the best,
Don Slater

Alice Project

> On Feb 17, 2020, at 3:08 PM, Vanderhyde, James <vanderhyde at sxu.edu> wrote:
> 
> In Alice 3, is there a way to handle different key events before introducing if blocks? In Alice 2, we used to use a separate event for each key, and then call a method. In Alice 3, I have to use “if event isKey(key)” in an if structure in order to call separate procedures for separate keys. (See screenshot.) Is there another way? I wanted to delay teaching if blocks just a little longer.
> 
> James
>> James Vanderhyde
> Associate Professor and Department Chair
> Computer Science
> Saint Xavier University
> 3700 W. 103rd St.
> Chicago, IL 60655
> 773-298-3454
> <screenshot.png>
> _______________________________________________
> alice-teachers mailing list
> 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/20200218/a69402e4/attachment.html>


More information about the alice-teachers mailing list