Super.Super not valid

BlitzMax Forums/BlitzMax Programming/Super.Super not valid

Gabriel, I think that's what Grey was trying to avoid. He wanted to 'skip' the 2nd level if I understood correctly.

I thought so too, but wasn't 100% sure. I posted the code example just to clarify. My main point was that I think objects should be planned such that skipping isn't required.

Which to me sounds like a possible design issue.

I agree. For me, inheritance says "Object B does everything that Object A does, plus some other stuff." If Object B doesn't do everything Object A does, it either shouldn't inherit from Object A, or another tier may be required inbetween, perhaps with abstract methods if it's just an implementation issue you want to skip, rather than a functional issue.