Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope in VFP
Message
De
28/07/2006 12:24:45
 
 
À
28/07/2006 11:53:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01141152
Message ID:
01141208
Vues:
28
You shouldn't do that. It breaks encapsulation. Pass the variables as parameters or create a parameter object, store the results, then pass that.

>thanks cetin.
>
>my problem with local is displayed from this quote from MSDN:
>
>"Local variables and variable arrays can be used and modified only within the procedure or function in which they are created, and cannot be accessed by higher- or lower-level programs. Local variables and arrays are released once the procedure or function containing the local variables and arrays completes execution."
>
>it is only available within the program that it is being used. I often need a variable in another program or function and often need the result from a function in more than one program. Can I make local variables available to these programs without declaring them as public?
>
>thanks,
>
>paul
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform