Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Include files. Problem solved, kinda.
Message
De
25/07/1997 18:29:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00041645
Message ID:
00041737
Vues:
28
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.
><>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform