Meinrad Recheis wrote: > On 2/28/06, Robert Klemme <bob.news / gmx.net> 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