xsharp.eu • Overriding a Function in a class... - Page 2
Page 2 of 2

Overriding a Function in a class...

Posted: Thu Apr 11, 2019 5:40 pm
by FoxProMatt
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?

Overriding a Function in a class...

Posted: Thu Apr 11, 2019 5:54 pm
by lumberjack
FoxProMatt_MattSlay wrote: Is all this correct?
Yes sir, I think you have become a SUPER master