Yep you got it.
When you say Thing is a Type A. And then passit a type B, thats ok because B has a "IS A" relationship with A.
That is anywhere that wants and A will accept a B, because it is a A.
In your example Thing knows its a b, and so calls the overridden function.
http://www.blitzbasic.com/Community/posts.php?topic=61748#691599
When you say Thing is a Type A. And then passit a type B, thats ok because B has a "IS A" relationship with A.
That is anywhere that wants and A will accept a B, because it is a A.
In your example Thing knows its a b, and so calls the overridden function.
http://www.blitzbasic.com/Community/posts.php?topic=61748#691599