Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do level exceeded error
Message
De
17/10/2001 17:07:05
 
 
À
17/10/2001 14:58:13
Leshel Rich
Plains Cotton Coop Assoc
Lubbock, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00569846
Message ID:
00569920
Vues:
28
Hi Leshel.

>> Can someone offer any suggestions on how to clean up this code? My problem is that the customer number can have more than the allowed do nesting level occurrances of a specific sales order number. Below is the code for my DO WHILE. Note that the code is in a function called l_upddtl, and this code is calling that function, so there is a recursive call to that function within itself. HELP!!! <<

I did not have the time or the patience to wade through this line by line, but the most common cause for this sort of error when a routine is calling itself recursively is that you have neglected to declare one or more variables as local inside the recursive routine.

Variables that are not explicitly scoped as LOCAL ( or PRIVATE or < gasp! > PUBLIC ) are, by default, PRIVATE. This means that they can be "seen" by all routines that are called from the one in which they are created.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform