Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive loop and SCAN
Message
 
 
À
26/07/2002 22:28:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00683191
Message ID:
00683193
Vues:
33
>A SCAN on a recursive loop is done on a specific cursor. However, as it is recursive, it changes the position of the scan of any "in memory" recursions. So, the pointer of a specific "in process" SCAN is then affected by the next one. What is the proper way to resolve such an issue?

Hi Michel,

In general, for recursive code to work the variables should be local to the recursive function. A cursor is 'a global variable' in this case. Can you provide more info about what are you trying to do?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform