Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert some prg to Compile-Time
Message
 
À
16/09/2003 09:22:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00829327
Message ID:
00829371
Vues:
22
OK,

then I have a problem: I want a piece of code be a part of different prgs.

Actually I have several projects, whoes main programs differ only slightly. The big part of them is the declaration of private variables that are then used in the app, instantiation of some common objects (application, Hauptmenu and so on), and this part is absolutely common to all my projects. Only the end of the main prg is specifical to the app. itself.

I would of course like to maintain this common part separately in a prg-file. But then I have to somehow "#INSERT" it into the code at compile-time, otherwise I can't declare the variables in it.

You are right, I did such thing before in FP26 with menus...
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform