Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does VFP 7 supports inheritance for comments?
Message
From
12/07/2001 10:54:41
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00529559
Message ID:
00529730
Views:
8
>>>The question I have here is what comments do you bring forward? Obvioulsy (at least to me) you can't bring them all forward. Your subclass code would be littered (hopefully < s >) with comments that had no value in the current method.
>>
>>Well, default might be with the main class. Or, it might be a setup in Tools/Options.
>
>I guess there was a misunderstanding. I didn't mean from which ancestor do you bring the comments from. I had assumed it would only be brought forward from the immediate parent class. Bringing in all comments from all ancestors would be a nightmare (IMO).
>
>The question I did have is still valid even if you applied the comment inheritance to any ancestor. From where in the code do you get the comments. I don't think that can be a user definable option because then you are expecting your standards to apply to everyone. If you set it up as bringing in comments before the LPARAMETERS/PARAMETERS statement that may exclude some needed information. The same is true for any other location. And what happens if there is no parameter statement at all but there are some comments that might have relevance. What happens then?

There is a lot of design issues here. Maybe there could be a minimum that could be applied.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform