Re: Inherited explained



Justus J. wrote:

On 21/10/2008 23:12, Rudy Velthuis wrote (amongst others) :
...

Example:

type
Base = class
...
procedure DoSomething(I: Integer); virtual;
...
end;

Derived = class
...
procedure DoSomething(I: Integer); override;
procedure SomethingElse(C: Char);
...
end;

...

I assume it should read

Derived = class(Base)

or else I'm totally lost here.

Yes, of course, of course. Stupid error. <g>



--
Rudy Velthuis http://rvelthuis.de

"Our government has kept us in a perpetual state of fear - kept
us in a continuous stampede of patriotic fervor - with the cry
of grave national emergency." -- General Douglas MacArthur
.



Relevant Pages