<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Eric, thanks. What would be helpful is something a little more abstract, like the List interface, where you don’t care so much which items are where, but just whether the items are in there or not, and adding and removing at will. In Alice 2, I had a few assignments
and labs using contains and moving items from one list to another, things that are actually very useful to be able to do easily. I can create a linked list myself using object references, but I don’t want to have to teach my Alice students implementation of
linked lists just to do this stuff.
<div class=""><br class="">
</div>
<div class="">James<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
—<br class="">
James Vanderhyde<br class="">
Associate Professor and Department Chair</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454</div>
</div>
</div>
</div>
</div>
<div><br class="">
<div class="">On Apr 6, 2020, at 12:28 PM, Eric Brown <<a href="mailto:ewbrown@andrew.cmu.edu" class="">ewbrown@andrew.cmu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">James,<br class="">
<br class="">
Alice 3 is using arrays instead of lists (we have discussed adding back in lists but juggling priorities). You can set and get elements of the Arrays. You can take a look at the presentation related to using Arrays here:<br class="">
<br class="">
<a href="http://www.alice.org/resources/lessons/arrays/" class="">http://www.alice.org/resources/lessons/arrays/</a><br class="">
<br class="">
I do need to update this lesson to also include that when available there will be get functions for arrays that will allow you to call a specific element of an array.<br class="">
<br class="">
Sincerely,<br class="">
<br class="">
Eric<br class="">
<br class="">
<blockquote type="cite" class="">On Apr 6, 2020, at 10:14 AM, Vanderhyde, James <vanderhyde@sxu.edu> wrote:<br class="">
<br class="">
What can I do with arrays in Alice 3, other than use them in for all in order/together loops? In Alice 2 I could drag a list into the code area of the screen and several methods would pop up, such as setting items or removing items. Can I do anything list this
in Alice 3?<br class="">
<br class="">
James<br class="">
—<br class="">
James Vanderhyde<br class="">
Associate Professor and Department Chair<br class="">
Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454<br class="">
<br class="">
_______________________________________________<br class="">
alice-teachers mailing list<br class="">
alice-teachers@lists.andrew.cmu.edu<br class="">
To change settings or unsubscribe visit:<br class="">
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers<br class="">
</blockquote>
<br class="">
_______________________________________________<br class="">
alice-teachers mailing list<br class="">
alice-teachers@lists.andrew.cmu.edu<br class="">
To change settings or unsubscribe visit:<br class="">
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</div>
</div>
</div>
<br class="">
</div>
</body>
</html>