[fpc-pascal] Virtual object methods

Ben Grasset operator97 at gmail.com
Thu Jun 27 23:53:34 CEST 2019


On Thu, Jun 27, 2019 at 4:17 PM Ryan Joseph <genericptr at gmail.com> wrote:

> Why do I get a runtime error with this?
>

If you specifically need inheritance (combined with virtual methods) you
should probably just use classes, because doing it with objects will
require heap allocation regardless.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190627/897c27c9/attachment.html>


More information about the fpc-pascal mailing list