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

Re: LOGO-L> microworlds program question



Hi,

I need to know more specifics about his project to make a definitive 
prescription, but based on the symptoms, let me suggest the following.

Recursion is hard to stop and often gets confused with the parallel 
nature of MicroWorlds.

He may need to rethink how the program works. He may not need recursion 
here at all. If he does need recursion, he could use a counter in it to 
check IF :COUNTER > 8 [STOP page2]

Otherwise, he could consider using REPEAT 9 [blah blah blah]

OR... if each turtle is running an instruction, you can use CLICKON to 
start the process and ask [list of turtles] [CLICKOFF PAGE2] to stop them 
and continue on to page2.

You do not need to use GETPAGE to change pages in MicroWorlds. Just the 
pagename will do as a command unless you need to input a different name 
from time to time as in, GETPAGE :thenameofthepagetheuserwantstogoto

Hope this helps!

-=Gary

>An 8th grade student of mine is having difficulty with a program that does
>something 9 times in a recursive program.  On the 10th time through he wants
>all the turtles on that page to stop, then he wants to go onto a new page
>and start those turtles to move.  We can't seem to make this work.  All the
>turtles on the first page won't stop.  We can go onto page 2 with getpage
>just fine.  


Gary S. Stager
Editor-in-Chief - The Logo Exchange
logoexchange@moon.pepperdine.edu
http://moon.pepperdine.edu/~gstager/logoexchange

21825 Barbara Street
Torrance, CA 90503 USA

Article submissions are always welcome from Logo-using educators, parents 
and children. The Logo Exchange publishes four issues per year.

To subscribe to Logo Exchange, go to http://www.iste.org

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