Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Codage, syntaxe et commandes
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,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement