Stupid question about user-defined classes

Sorry if this question is totally daft, but the documentation is fuzzy on this subject.

I know that in LS, you can override a method or property of a base class by creating a method or property in the derived class with the same signature. here’s what confuses me however–

what if the method or property in the derived class has a different signature that an identically named method or property in the derived class? does that throw an error? does it ignore the method/property in the base class?

I wanted to try to get a handle on this before i went and wrote any more code, so any wisdom you can impart would be greatly appreciated…

thanks.

brandt

Subject: RE: stupid question about user-defined classes

Here’s how to find the answer – try it and see. This is 8 lines of code, 4 of which are auto-generated.

I have no problem with questions that come from ignorance, but questions that you could perfectly well answer for yourself in under two minutes, bother me.

Subject: here’s an idea…

Andre,

Well obviously, this question didn’t take me under two minutes to answer because before I posted, I spent the better part of a day searching not only the documentation, but this forum and the 4/5 forum and I could not find an answer. I didn’t realize that if I had bothered to go on that the compiler would have thrown an error at me, because the documentation does not address this AT ALL.

Instead of belittling members of this forum that actually try to contribute to the forum (and you can search on my name to see that I both ask and answer questions to the best of my abilities here), you use your status as an employee of IBM and a member of the Notes development team to actually get those of us who use this program on a daily basis some usable user documentation. My intent in posting this question was in the hopes that someone would answer so that when someone else can’t read the minds of those who wrote the documentation and comes searching the forum for an answer, that it would be here, and they wouldn’t waste the time I wasted trying find the answer.

Which by the way, for those searching this out–the answer is that Notes won’t let you compile it. The signatures must match.

I respect your contributions to the Notes community, but I don’t get the superiority complex. A lot of people who develop for Notes don’t come from a programming background (I certainly don’t) and when the documentation lets us down, I think they come here, because if they are like me they think this is the authority when it comes to Notes related questions and issues.

I am sorry if my question came up as lazy, but I had already spent too much time trying to find the answer and I have other duties that I have to perform.

It was not my intention to offend your sensibilities, but instead to archive an answer to a question that took me too long to figure out. Sorry.

thanks for pointing me in the right direction anyway.

brandt

Subject: RE: here’s an idea…

I’m sorry that I was snippy.

I always encourage people to use the Feedback link in the Designer help pages to suggest documentation updates, so I encourage you to do this about whatever page you felt was missing the information. Last I checked, I provide more feedback this way than the rest of the world combined, so I feel I’m doing my part to improve the documentation. I also made a special point of getting involved in the recent update of our education materials, and asked them to remove many long-standing inaccuracies (don’t know whether they did so).

My policy is, don’t spend a day searching the documentation and the internet before testing it out myself. Reality trumps documentation every time. Even if it had compiled, you could also try running it and see what happens.

Subject: RE: here’s an idea…

Andre,

It’s okay…your suggestion to check the reality of the situation is sound and I should have gone that route (and will in the future.)

Damn you, English Lit degree!

Thanks again.

Brandt

ps. I will be sure to send feedback when i feel the documentation isn’t cutting mustard.