Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can be read method code at runtime ?
Message
 
 
To
19/11/1999 09:47:32
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00292948
Message ID:
00293105
Views:
27
Jon,

>Erm...thanks for the tip Mat but our problem is slightly more complicated than that. We wish to access the actual method CODE at runtime, as a developer aid to check DODEFAULTS exist where they should.

If your methods don't require the use of DODEFAULT 99.99% of the time I'd say it's likely that your class designs need some serious work. Inheritance normally extends a class' functionality and if your subclasses/instances aren't using the functionality what is it doing there in the first place. Your programmers shouldn't really have much of a choice about whether or not they have dodefault in the code they write.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform