General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only