Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who Called Me?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00436100
Message ID:
00436797
Views:
14
>Not really an OO thing. All programming "knows" what called it because the return address (at least used to be) was placed on the stack. In terms of OO, it's the compiler that resolves the references and acts accordingly.

There I will have to disagree with you - the return address only tells you where the calling code is - it gives no (direct) information about who or what did the calling. In terms of OO it is not necessarily the compiler that resolves the references, very often it is a run-time decision - hence the power of OO & abstract classes.
Mike

"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform