Overriding a Function in a class...
Posted: Thu Apr 11, 2019 5:40 pm
Okay, I think I'm starting to get what you are saying, as it related to just raw Functions. So I have learned something with this.
However, back to my original concern, I just wanted know if I have a Class defined of my own type, and then I subclass it, and add an override (in the C# sense of overriding a Method), when I want to called the original base method, I can do it with Super:X(). Right?
But if I were overriding one of RT Functions, you cannot call Super(), you must make a hard call to the function in the XSharp.RT namespace.
Is all this correct?
However, back to my original concern, I just wanted know if I have a Class defined of my own type, and then I subclass it, and add an override (in the C# sense of overriding a Method), when I want to called the original base method, I can do it with Super:X(). Right?
But if I were overriding one of RT Functions, you cannot call Super(), you must make a hard call to the function in the XSharp.RT namespace.
Is all this correct?