Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private vars
Message
From
01/06/2001 11:01:32
 
 
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:
00513808
Views:
11
>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?

that makes sence.

thanks

( I asked that because of the line - "In case you declare PUBLIC myVar1, it will be accessible from both apps." in youe last post. to be taken metaphoricly )
Previous
Reply
Map
View

Click here to load this message in the networking platform