[Q] recursion

David Faught dave.faught at gmail.com
Fri Nov 24 14:58:27 UTC 2006


This is really a Smalltalk/Squeak language question, although it may
not sound like it at first.  There is a limited Squeak programming
environment in the MockTurtle turtle graphics package for Croquet,
essentially like a WorkSpace where the code is dynamically compiled
and executed like a DoIt, and not retained as a method in the turtle
class.

Since many turtle graphics examples use recursion to do interesting
things, I'm wondering if there is a way to do recursion in this kind
of environment, maybe using named blocks?

Thanks for any input you may have.  Simple examples would be much appreciated!



More information about the Squeak-dev mailing list