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

Re: LOGO-L> Restricted vision, help?



> "How can I tell if a Turtle Geometry procedure will draw a closed shape 

If by closed shape you mean a shape in which the turtle returns to its
original starting place, you might try something like this:

to pretest
name pos "start.pos
name heading "start.heading
end

Then draw whatever you want and then

to posttest
if and (pos = :start.pos) (heading = :start.heading) [flashit]
end

to flashit
  the kid can write whatever he wants 
end

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