Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private vars
Message
De
01/06/2001 11:29:01
 
 
À
01/06/2001 11:10:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00513736
Message ID:
00513838
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform