Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope of variable in .PRG?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Scope of variable in .PRG?
Divers
Thread ID:
00453277
Message ID:
00453277
Vues:
74
If I declare a PUBLIC variable in my .PRG, for example -
PUBLIC gcMyVariable
gcMyVariable = ""

and then I call another application using RUN MyApp.exe later in that same .PRG,
can I reference the public variable gcMyVariable in a form that's part of MyApp.exe or do I have to pass the variable value using a parameter or something else? What's the best way to handle passing or referencing a variable value among or between .EXEs that are mostly running forms?

TIA
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform