>Hi,
> How to have recursive that nested more than 128 level? I tried to use proceudre, but not works...
>
>Thank you
You're probably getting a "Do nesting too deep" error, right? Well, it's a limitation of Fox - but anyway, going too deep with recursion wasn't too good a practice anyway, it always was a resource hog.
One thing you can do is to have an array of things which need to remembered from level to level, and iterate down your array in an outer loop, increasing and/or decreasing a level variable, which then points to the current row of the array. The array actually simulates the stack - one row per level - and that should give you a couple of thousands of levels (keep in mind you can only have a total of 65000 elements in an array). If this is not enough, create a cursor instead of the array, and you'll have more depth than you'll ever need. But then, why would you need such a deep recursion? Such a design probably needs rethinking, IMHO.