[fpc-pascal] Virtual object methods

Ryan Joseph genericptr at gmail.com
Thu Jun 27 23:51:04 CEST 2019



> On Jun 27, 2019, at 4:42 PM, Stefan V. Pantazi <svpantazi at gmail.com> wrote:
> 
> Read down the first page, the section "Objects - Dynamic Variables" - all will become clear.
> 
> By avoiding the virtual methods, you can keep your objects static, all stored on stack, no need for constructors. I personally find very useful for my projects.
> 
> Find fixed example below. Hope it helps,

I needed them on the stack though.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list