[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Recursion



[attachments were deleted]

These pictures are just illustrating Jim Muller's MAZE and AMAZE.
You'll see, the behaviour of SPIRAL1 (spiral1a.gif) differs from one
of SPIRAL2 (spiral2a.gif) and the behaviour of SPIRAL2 coinsides
with the one of SPIRAL3.

TO SPIRAL1 :A
   IF :A<10 [STOP]
   FD :A  RT 90
   SPIRAL1 :A-10
END

TO SPIRAL2 :A
   IF :A<10 [STOP]
   SPIRAL2 :A-10
   FD :A  RT 90
END

TO SPIRAL3 :A
   IF :A>100 [STOP]
   FD :A  RT 90
   SPIRAL3 :A+10
END

All the best,
Olga.


---------------------------------------------------------------
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