Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory variable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00143748
Message ID:
00143749
Vues:
21
>How do I reference what I used to call a memory variable?
>In the valid of 1 object I want to check for something &
>then set a memory variable that I check in the click
>method of another object. Can I set the variable in the 1st
>object by saying lctest = .t.? Then how do I reference this
>variable in the 2nd object?
>
>Thanks.

Jane,

Try declaring your test flag as a private variable:

PRIVATE pnTest

pnTest = .f.

The private variable will be passed from the calling function to the called function. Then you can use it any way you'd like.
Perry E. Chrzanowski
Programmer/Analyst
Saturn (Solutions) Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform