Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enviroment variable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00758994
Message ID:
00759179
Vues:
20
Nice try, but it won't work.

Every RUN command gets its own environment. As soon as it's done, that environment (and the variable you've set) is released.


>You can use the getenv() function to read the variable. You can set the variable in dos or use the run command to set the variable in dos from within fox
>
>eg:
>* Set var
>lcCmd = "set abc=123"
>run lcCmd
>
>* Read var
>
>lcVal = getenv('abc')
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform