Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#Include files. Problem solved, kinda.
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
#Include files. Problem solved, kinda.
Miscellaneous
Thread ID:
00041645
Message ID:
00041645
Views:
91
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
Next
Reply
Map
View

Click here to load this message in the networking platform