Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private vars
Message
From
01/06/2001 10:34:00
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
 
 
To
01/06/2001 10:00:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00513736
Message ID:
00513782
Views:
18
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).

John

>so what're saying is that if I declair a variable as public, an entirely different application written in fox can see ( and manipulate ) that variable?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform