Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable Scoping
Message
From
09/06/1999 16:12:54
 
 
To
09/06/1999 16:09:52
Larry Rix
Larry Rix & Associates, Inc.
Westminster, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00228126
Message ID:
00228130
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform