Re: Programming procedures

12 views
Skip to first unread message

Daniel Wendel

unread,
Dec 8, 2014, 10:59:55 AM12/8/14
to starlo...@googlegroups.com
Just think about it the inverted way:

Is there a way to only do something if the agent is not at a certain x-coordinate?

Sure!
if (xcor != certain-x-coordinate) then
   [do the rest of the procedure]

On Mon, Dec 8, 2014 at 7:57 AM, <nram...@ellingtonps.net> wrote:
Is there a way to program the game so that the procedure "stops" when the player/agent reaches a certain x-coordinate?

--
You received this message because you are subscribed to the Google Groups "StarLogo TNG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to starlogo-tng...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages