Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public and local variable of the same name?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01282432
Message ID:
01283114
Vues:
17
>>BTW, it is not necessary to define a global variable as PUBLIC, a PRIVATE defined in the highest program layer will be global to the application. The only thing PUBLIC does is make the variable live beyond the end of the program that defines it.
>
>Thank you for clarifying. Are you saying that PUBLIC variables stay in the memory of the PC even after you close the application?

They stay in memory as long as VFP is still running.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform