SourceForge.net Inheritance

Inheritance
Table of Contents

Deriving classes from other classes


Classes can inherit from one super class (which can in turn inherit from other classes). Methods from super classes will be called if the method isn't overridden. Inheritance is defined by creating the class' datatype as some other class:
    euclass foo( integer f )
        ...
    end euclass

    euclass bar( foo b )
        ...
    end euclass