Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine, if a method has some Code?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00793398
Message ID:
00795078
Views:
21
Thanks for all your help David. Actually I am a one man show in programming, thus I wanted more foolproof stuff as I would be riding many horses <g>.

Thanks again.

>Bhavbhuti,
>
>Your class documentation should detail what the subclass must do.
>
>You could write a VFP parser and make sure there is an executable line of code, but even that won't know if it's actually doing anything or the right thing.
>
>I think you don't have to worry about it, if the user of your class doesn't provide correct implementation the class simply isn't going to work and that's really more their problem than it is yours. The class warns them if they've forgotten to provide the implementation.
>
>>This works great thanks. Now what if a requirement arises that MyMethod needs to have code in the MyAbstractClass, this I tried but the same code will say alls okay even if I have a comment in MyAbstractClass.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform