Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiler directive only for dev time
Message
De
09/10/2014 16:51:15
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
16/09/2014 13:12:08
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01607627
Message ID:
01609083
Vues:
88
>Hey all
>
>I am trying to execute a piece of code only at design time, never at runtime. I thought I could do a compiler directive. Something like
>
>#IF _vfp.startmode=0
>
>Of course, that will never work. Compilation is always at startmode 0, so it will be a hit in the exe. I guess it is possible to drive this by checking for the existence of a file? If the file is present, exclude the design time code?
>
>Thanks

Are you still intersted in a solution? i'ved picked up your problem to do something similar for me. I can show you haw to use project to do this. Just let me know.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform