From: Robert Klemme Date: 2006-02-28T20:33:37+09:00 Subject: Re: Stack level too deep Meinrad Recheis wrote: > On 2/28/06, Robert Klemme wrote: >> >> - change the way you store things to avoid such a deep recursion >> > [...] > > i now remember that i had a similar problem with a deep recursion and > stack depth. i solved > it by converting the recursive function into a while loop. you can > transform every recursion > into a loop, but it will not be as easy to read anymore. That's exactly the other recommendation I gave. :-) robert