[fpc-pascal] All methods vitrual ?
Adriaan van Os
adriaan at adriaan.biz
Tue Oct 10 02:04:58 CEST 2023
Sven Barth via fpc-pascal wrote:
> No. Only those in the published section are part of the vMethodTable.
> And when compiled with $M+ the default visibility is changed from public
> to published.
OK, but that means that by explicitely specifying public/private/protected for fields and published
for methods, a method list can be generated when compiling with {$M+}.
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list