Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private vars
Message
From
01/06/2001 11:08:13
 
 
To
01/06/2001 10:34:00
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00513736
Message ID:
00513812
Views:
19
And this also applies to methods...

>>>>>>>>>>>>>>>>>>>>>>>
No, the public var and the private var (if called from the main program) would only be visible to the app in which they are created. The difference comes when the variables are created farther down the call stack. Say prog1 calls prog2 which calls prog 3. A public or private variable created in prog1 would be visible in all 3. However if the variable is created in prog2, the public var would still be visible in all 3. The private var would only be visible in prog2 and prog3 (down the call stack - hidden from any program above).
>>>>>>>>>>>>>>>>>>>>>>>


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform