Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE() problem
Message
 
 
À
17/07/2002 10:02:58
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00679449
Message ID:
00679618
Vues:
19
Alan,

>It's a safety measure. Some programs are called via macro subsitution, and therefore not automatically pulled into the project. I wanted to display a user-friendly message rather than have the app 'fall-over' if the program did not exist.

Use a function like this somewhere in your code to make sure the project gets everything it's supposed to:
function ForProjectManagerOnly()
if .f.
   Thing1()
   Thing2()
endif
endfunc
Just list all of the routines you call via macro and you are set.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform