Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form name somevar
Message
De
19/08/2008 06:40:52
 
 
À
18/08/2008 16:33:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01339511
Message ID:
01339874
Vues:
16
You are storing a form reference in a variable "newCl". If it is an undeclared (default) variable, it will run out of scope as soon as the method or procedure ends where you have declared it.

I am sorry, but you are mistaken. If you do not declare a variable, by default its scope is PRIVATE, not LOCAL. So, if the variable is not declared, it can be seen by the program or method in with it is initialized as well as by anything that is called by it. It is variabbles explicitly declared as LOCAL that go out of scope when the method or procedure ends.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform