Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive Remove Directory
Message
 
 
À
10/12/1999 18:07:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00302015
Message ID:
00302136
Vues:
31
Mike,

The real problem here is that since i is not declared and it exists in the calling routine the called routine will reuse the same memvar, which will cause the called routine to stomp on the value of the variable of it's caller.

Declaring it PRIVATE or LOCAL, LOCAL is much better will cause the routine to get it's own version of i.

>Hi Mark,
>
>>If you declare i, entries, aremdirs as private it works.
>
>Variables are automatically declared Private. Do you mean Local?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform