Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private vars
Message
From
01/06/2001 11:29:01
 
 
To
01/06/2001 11:10:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00513736
Message ID:
00513838
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
>so...
>
>app1.exe:
> main.prg:
> public fSomething
> ! App2.exe
> . . .
>
>app2.exe:
> main.prg:
> This could use fSomething?
>
>- if so, what if "public fSomeThingElse" was is App2.exe? could that var be seen by app1? AFTER app2 closes?
>
>- I'm assuming that unrelated appications ( even if written in fox ) cannot see these var ( may sound like a rather obvious thought, but then this behaviour is not exactly standard either ). i.e. app1.exe and app2.exe are started by click-click on the icons or through run...
>
>- jer

No, in this case since you used the RUN command (!), they are each running their own instance of VFP and APP2.EXE will not see the variable created by APP1.EXE. If you had used a DO APP2.EXE, then yes, APP2.EXE would be able to see the fSomething variable.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform