Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert some prg to Compile-Time
Message
 
To
16/09/2003 09:22:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00829327
Message ID:
00829371
Views:
21
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform