Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable Scoping
Message
De
09/06/1999 16:12:54
 
 
À
09/06/1999 16:09:52
Larry Rix
Larry Rix & Associates, Inc.
Westminster, Colorado, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00228126
Message ID:
00228130
Vues:
15
>Hello,
>
>I am somewhat perplexed. There seem to be only three memvar scope choices -- LOCAL, PUBLIC, and PRIVATE. PUBLIC gives everything in my app access. PRIVATE seems to keep PUBLIC variables by the same name partitioned from their PUBLIC counterparts. LOCAL is kind of what I want except it will not scope to a lower level program (i.e., the rest of the Form components). Here is what I am after:
>
>1. A variable scope that is limited to the ENTIRE Form (not just the higher level parts of the form).
>2. Some guidance about PRIVATE scoping. Does this scope technique allow me what I am after in item #1?
>
>Thanks before-hand for your input. :)
>
>Larry Rix

Preferably, VFP app uses only LOCAL variables. Anything that requires more scope should be accomodated by custom properties. IMHO, PUBLIC/PRIVATE is mostly Fox2.x leftover.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform