[Edu-sig] Turtle Graphics

Daniel Ajoy da.ajoy at gmail.com
Mon Dec 24 16:57:32 CET 2007


On 24 Dec 2007 at 12:00, edu-sig-request at python.org wrote:

> So the distinction I was making was between original
> Logo syntax, which doesn't explicitly mention the
> turtle (because there's only one), 

In MicroWorlds Logo there are many turtles and the usual
way to handle this is:

talkto "turtle1
 repeat 4 [fd 10 rt 90]

talkto "turtle2
 do.something.else

or things like:

everyone [repeat 4 [fd 10 rt 90]]

MicroWorlds Logo also has syntactic sugar for talkto:

turtle1, repeat 4 [fd 10 rt 90]

but you can't say:

make "anyturtle "turtle1
:anyturtle, repeat 4 [fd 10 rt 90]


Daniel



More information about the Edu-sig mailing list