<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif|1;font-size:10pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Alice 2.x?&nbsp;&nbsp; That condition is looking for a Boolean (true / false) value.&nbsp; What you are trying to drag in returns a number (distance).&nbsp; The solution would be to first drag in a condition (World, Functions, Math, A &gt; B).&nbsp; Place numbers initially into A and B (1, 2), then replace one&nbsp; with the function you want use ("goldfish distance in front of shark") and then how far in front....</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Frank Hulsman</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">St. Xavier High School</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Louisville, Ky<VAR id=yui-ie-cursor></VAR></SPAN></div>
<div style="RIGHT: auto"><BR style="RIGHT: auto"></div>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif|1">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="RIGHT: auto" dir=ltr>
<DIV class=hr style="FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; HEIGHT: 0px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 5px 0px; BORDER-LEFT: #ccc 1px solid; LINE-HEIGHT: 0; PADDING-RIGHT: 0px" readonly="true" contenteditable="false"></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Ron Guillemette &lt;rgilmet123@gmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Alice List &lt;alice-teachers@lists.andrew.cmu.edu&gt; <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, January 27, 2014 9:00 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> alice-teacher Conditional Loops<BR></FONT></DIV>
<DIV class=y_msg_container><BR>
<DIV id=yiv5447497305>
<DIV dir=ltr>
<DIV>I'm not sure what I am doing wrong, but I am trying to do the Chase scene in Chapter 7 of the Programming with Alice book using While in the chase method. &nbsp;I am unable to drag the "goldfish distance in front of shark" function into the "true" condition of the while. &nbsp;I keep getting a red outline around the command.<BR></DIV>
<DIV>
<DIV><BR></DIV>
<DIV>Thanks for any help.</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>
<DIV dir=ltr>Ron. Guillemette
<DIV><BR></DIV>
<DIV>Computer Technology and Game Design<BR>
<DIV>The Regional Career &amp; Tech Center @ Coventry High</DIV>
<DIV>40 Reservoir Road, Coventry, RI 02816</DIV>
<DIV>401-822-9499 ext 287</DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>alice-teachers mailing list<BR><A href="mailto:alice-teachers@lists.andrew.cmu.edu" ymailto="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</A><BR><A href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target=_blank>https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</A><BR><BR><BR></DIV></DIV></DIV></div></body></html>