<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=""><div class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 5, 2019, at 10:21 PM, Kelly, Terri <<a href="mailto:kellyt@bishopireton.org" class="">kellyt@bishopireton.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Don,<div class=""><br class=""></div><div class="">I tried to recreate it in a simple world and ... it worked.  So... there must be something in this crazy world.</div><div class=""><br class=""></div><div class="">There is a second problem that I would appreciate you taking a minute to look at.</div><div class=""><br class=""></div><div class="">So - the first problem is the calling of a class method from an item in an array ... the method I am trying to call is an automobile method named drive.  I am calling it from the scene level method moveRow, which is called from myFirstMethod after setup is done. Setup appears to work properly and I have put in several say statements to narrow down the problem.</div><div class=""><br class=""></div><div class="">The second issue is the event listener, collision... when I run this world, it takes FOREVER to return from running, unless I comment out the event listener.  The event listener worked great when there was just a small array of automobiles (5 in number), but when I added the other 15 ... it just almost seems to hang when returning from running...  It doesn't actually hang - it just takes forever to come back.</div><div class=""><br class=""></div><div class="">I recreated the entire world (everything) in a new Alice world and ... created 4 collision event listeners each with an array of just 4 items and ... the delay in ending execution occurred again.  </div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class="">Terri KElly</div><div class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Computer Science<div class="">Bishop Ireton</div></div></div></div></div></div><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 5, 2019 at 6:00 PM Donald Slater <<a href="mailto:dslater@andrew.cmu.edu" class="">dslater@andrew.cmu.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Terri,<div class="">Would you mind sending a copy of your program? I am trying to recreate the problem based on your description, but I do not think I am getting it right, as everything seems to be working for me… I must be missing something…</div><div class=""><br class=""></div><div class="">Also, I am using the latest download of Alice available on <a href="http://alice.org/" target="_blank" class="">alice.org</a> (3.5). We added set and get indexed value into procedure and function list for all array properties, but I do not think that is related to your issue. But if you are using an older version of Alice you might try it.</div><div class=""><br class=""></div><div class="">Looking forward to hearing from you.</div><div class=""><br class=""></div><div class="">All the best,</div><div class="">Don Slater</div><div class=""><br class=""></div><div class="">Alice Project<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On May 4, 2019, at 4:27 PM, Kelly, Terri <<a href="mailto:kellyt@bishopireton.org" target="_blank" class="">kellyt@bishopireton.org</a>> wrote:</div><br class="gmail-m_7647762616223646831Apple-interchange-newline"><div class=""><div dir="ltr" class="">I have a world which is not behaving like I am expecting it to.<div class=""><br class=""></div><div class="">I have an array of automobiles called rowA[]</div><div class="">I have a method created for automobiles called go</div><div class="">In go, the first thing I have this do is say it's Sthing (this say "" + SThing this)</div><div class=""><br class=""></div><div class="">If I call go with blueTruck, it works fine, the truck says blueTruck and then moves forward</div><div class=""><br class=""></div><div class="">blueTruck.go()</div><div class=""><br class=""></div><div class="">If I call go with rowA[0].go ... Alice hangs, </div><div class=""><br class=""></div><div class="">So, from the test method I have</div><div class=""><br class=""></div><div class="">blueTruck.go()</div><div class="">rowA[0] = blueTruck</div><div class="">rowA[0].say "" + Sthing rowA[0]</div><div class="">rowA[0].go</div><div class=""><br class=""></div><div class="">Is there any reason why I should not be able to call a class level method from an array that is of that type class?  </div><div class=""><br class=""></div><div class="">Terri Kelly</div><div class="">Computer Science</div><div class="">Bishop Ireton High School</div><div class="">Alexandria, VA</div></div>

<br class="">
<i style="color:rgb(34,34,34);background-color:rgb(255,255,255)" class=""><font size="2" class="">The information contained in this communication may be subject to legal confidentiality protection or privilege. It is intended solely for use by the intended recipient and others authorized to receive it. If you have received this communication in error, please notify the sender and delete it immediately. You are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.  The school accepts no liability whatsoever for any damage, loss, or expense arising from any misuse of this e-mail and/or from the accessing of any files attached to this e-mail.</font></i>_______________________________________________<br class="">alice-teachers mailing list<br class=""><a href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank" class="">alice-teachers@lists.andrew.cmu.edu</a><br class="">To change settings or unsubscribe visit:<br class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank" class="">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">
alice-teachers mailing list<br class="">
<a href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank" class="">alice-teachers@lists.andrew.cmu.edu</a><br class="">
To change settings or unsubscribe visit:<br class="">
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" rel="noreferrer" target="_blank" class="">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></blockquote></div>

<br class="">
<i style="color:rgb(34,34,34);background-color:rgb(255,255,255)" class=""><font size="2" class="">The information contained in this communication may be subject to legal confidentiality protection or privilege. It is intended solely for use by the intended recipient and others authorized to receive it. If you have received this communication in error, please notify the sender and delete it immediately. You are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.  The school accepts no liability whatsoever for any damage, loss, or expense arising from any misuse of this e-mail and/or from the accessing of any files attached to this e-mail.</font></i><span id="cid:f_jvbqnp2s0"><Frogger.a3p></span></div></blockquote></div><br class=""></div></body></html>