Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only