<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://749/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The short answer is, at this time there are no tricks… You will have to rebuild the array. I am sorry…<div><br></div><div>The longer answer:</div><div>There are three scenario's that you may be asking about.<div><br></div><div>If while building an array, and before clicking on "Ok" to finalize the initialization you wish to remove an element, there should be some way to remove an element that you added and realized that you did not want (Alice 2 has a "remove element" button for example). This feature is coming and should be available relatively soon.&nbsp;</div><div><br></div><div>Clicking on "Ok" leads to the second scenario.</div><div><br></div><div>In this case you have initialized the array with some set of elements, and you realize that you want to remove one of those elements. It would be great if the original initialization list would appear when you select "Custom Array", giving you access to the feature described above. Unfortunately that feature has not been implemented, but probably will be soon.<br><div><br></div><div>The third scenario would be removing an element from a list at run-time (while your animation is actually running). This is actually not easily done in Java arrays. The Java Collection classes, including lists, allow you to remove an element from the Collection. In Alice 2, there were both lists and arrays, and elements could be removed from the lists, but not easily from the arrays.</div><div><br></div><div>Alice 3 at this time only implements arrays, and so the only way to "remove" an element from an array at runtime is, again, to rebuild it.</div><div><br></div><div>A long answer to a short question, I am afraid.</div><div><br></div><div>Let me know if you have any other questions.</div><div><br></div><div><br><div><div>On Jan 31, 2013, at 10:38 AM, Steven Pleau &lt;<a href="mailto:spleau@assabet.org">spleau@assabet.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Good morning,<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">I am trying to remove elements from an array in version 3.1.58 without much success??&nbsp; Is it even possible?&nbsp; If so, what is the trick!??<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Thanks<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Steve<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Steven Pleau<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Programming &amp; Web Development Teacher<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Assabet Valley Regional Technical High School<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">215 Fitchburg Street<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Marlborough, MA 01752-1288<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">508-485-9430 x2840<o:p></o:p></div></div>_______________________________________________<br>alice-teachers mailing list<br><a href="mailto:alice-teachers@lists.andrew.cmu.edu" style="color: purple; text-decoration: underline; ">alice-teachers@lists.andrew.cmu.edu</a><br><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" style="color: purple; text-decoration: underline; ">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div></blockquote></div><br></div></div></div></body></html>