Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#Include files. Problem solved, kinda.
Message
From
25/07/1997 18:29:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041645
Message ID:
00041737
Views:
30
Well, it's not absurd. The include files are not properties or methods of the class. As I said yesterday twice, #define constants are compile time constants, NOT runtime constants.

I agree that would be nice to have an option for each class to propagate include files. Also nice a place where to specify include files for all classes, programs, forms, etc. Maybe in version 6.0.

You must also know that the include file operation is very heavy for the compiler and it slows down seriously the compilation if you use big .h files.

Vlad

>This seems to me to be beyone absurd. It won't make any difference in program size and it's not that much of a big deal to just include the file in everything, but OO methodology dictates that a child object inherits from the parent all properties and methods. This should include any defined constants.
><>
Previous
Reply
Map
View

Click here to load this message in the networking platform