Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Include files. Problem solved, kinda.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
#Include files. Problem solved, kinda.
Divers
Thread ID:
00041645
Message ID:
00041645
Vues:
89
Ok, the include file problem has been solved. But I ain't happy with the answer. It would seem to me that if you create a class, include a file in that class and then subclass it that the include file would be available to that subclass. Well, apparently, no. So, for example, if I created a navbutton class that has 10 subclasses instead of just having one include file in the parent class, I have to use an include file in each and every subclass. Furthermore, as I subclass more of the already subclasses classes the number of include files needed grows at an exponential rate.

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.
<>

Michael G. Emmons
memmons@nc.rr.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform