Override

Posted by Thomas Mercer-Hursh on 01-Mar-2012 14:49

Perhaps I just need refueling with lunch, but I have a superclass which has a method defined as:

  method private logical IncludeFile ( input ipchBaseName as character ):

and a subclass which has a method defined as

  method private override logical IncludeFile ( input ipchBaseName as character ):

and it is telling me Attempt to OVERRIDE method 'IncludeFile' but did not find a method with matching signature in super class. (14605) 

What am I missing?

All Replies

Posted by rbf on 01-Mar-2012 14:51

tamhas wrote:


What am I missing?

The fact that you defined the super class method private.

Posted by Thomas Mercer-Hursh on 01-Mar-2012 14:55

What I am missing is that I said private instead of protected ... told you I needed lunch!!!!!

Posted by Thomas Mercer-Hursh on 01-Mar-2012 15:14

I see you beat my self realization, Peter, but I unloaded the dryer and put in a new load in between!

Posted by rbf on 01-Mar-2012 15:22

I'll settle for  a correct answer

Posted by Thomas Mercer-Hursh on 01-Mar-2012 15:24

Done!

This thread is closed