Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do nesting exceded
Message
From
15/07/2000 08:10:15
Walter Meester
HoogkarspelNetherlands
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00392852
Message ID:
00392857
Views:
10
Ed,

>>Can anyone explain what the error message "Do nesting Exceded " and how I may address this problem?
>>
>
>Typically, this indicates that you've forced the nesting of DO WHILE, FOR EACH or FOR NEXT loops to exceed the maximum depth of 128 layers - unless involved with extensive, deep recursive algoritms, it's usually a sign of poor algoritm implementation.

I don't think it has anything to do with DO WHILE, and FOR loops. It simply indicates that the level of function calls (either with DO program or the execution of a user define function) has exceeded the limit of 128 levels. I recall that in the FP 2.x day the limitation only was about 32 levels.

>Unless you're involved in a recursive algoritm which could recurse inwards in exces of 128 layers (the limit of calling depth to a VFP application) the odds are very strong that you've misconstructed a series of embedded loops within a single process.

Yes, you're right, the error mostly occurs when some unintended recursive mechanism is involved.

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform