[Tutor] Question about classes
Eric Abrahamsen
eric at abrahamsen.com
Sat Aug 25 12:20:29 CEST 2007
> Welcome to the wacky world of recursion.
> You call __upp from inside __upp so you do indeed generate
> a new layer, in fact you start a new while loop. You need to
> move the while loop out into init, something like this:
So all those "yes"s were actually backing out of multiple while
loops... Should have guessed that calling a method from inside itself
was a bad idea.
Thanks for your help,
E
More information about the Tutor
mailing list