Turtles can also be driven by seperate timers leaving MSWLogo free to perform other tasks (like more turtles). to fire :turtle ; Note that the call back here cannot be [move :turtle] ; it must be resolved here settimer :turtle 100 (list "move :turtle) end to move :turtle ; We need to restore the turtle when we are done so we ; don't screw up the user or another timer make "saveturtle turtle setturtle :turtle rt (random 10) - 5 fd 10 setturtle :saveturtle end fire 1 fire 2 fire 3 fire 4 > > > I wanted to know how to command more than one turtle at the same > > time. Is it something like setturtle 0 : 1, setturtle 0;1 or > > something different entirely? > > example: how to command 2 turtles > > for [i 1 2] [ setturtle :i rt random 360 fd 100] > > yasushi fujita > NAG01701@niftyserve.or.jp > http://www.net117.or.jp/~frely/ (japanese) > (MSWLogo for the japanese version) > > --------------------------------------------------------------- > Please post messages to the Logo forum to logo-l@gsn.org. Mail > questions about the list administration to logofdn@gsn.org. To > unsubscribe send unsubscribe logo-l to majordomo@gsn.org. -- =============================================================== George Mills (mills@softronix.com) http://www.softronix.com/ The www page contains some very powerful educational software. Our single most important investment is our kids. --------------------------------------------------------------- Please post messages to the Logo forum to logo-l@gsn.org. Mail questions about the list administration to logofdn@gsn.org. To unsubscribe send unsubscribe logo-l to majordomo@gsn.org.
Global SchoolNet Foundation -
Linking Kids Around the World!
Copyright GSN - All Rights Reserved
- Comments
& Questions
Visit GSN's
Global
Schoolhouse for more exciting learning resources!
Search our Site
-
Home