Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The scope of Public variable
Message
De
07/10/1999 10:07:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
The scope of Public variable
Divers
Thread ID:
00273661
Message ID:
00273661
Vues:
41
Hi,
I have declare a public variable PUBLIC RxDATA in myclass.INIT. This variable will be used by a anywhere in myclass. It works fine at first. When I tried to subclass it become mysubclass, VFP give me error RxData is not found. I am suprise that why it happen? Therefore, I declare PUBLIC RxData in main.prg and it doesn't work too except I declare it in mysubclass.init again. Why ? What have I do wrong?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform