[fpc-pascal] casting back a pointer to original type
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat May 29 18:18:28 CEST 2010
On 29 May 2010, at 18:11, Michael Van Canneyt wrote:
> It depends on what you want to achieve. If you make it a static method, then
> the compiler will emit a warning "function Text hides method of parent
> class" (or something like it)
>
> If you make it virtual, then you must explicitly add "override" to override the implementation of the method.
Virtual methods can also hide inherited methods (if you don't add override).
Jonas
More information about the fpc-pascal
mailing list