[fpc-pascal] All methods vitrual ?
Sven Barth
pascaldragon at googlemail.com
Tue Oct 10 22:25:44 CEST 2023
Am 10.10.2023 um 11:18 schrieb Adriaan van Os via fpc-pascal:
>
>>
>> - In the released compiler, if you remove all visibility specifiers,
>> you can
>> get a list by specifying {$M+} on your base object and then list all
>> published methods using the RTTI.
>
> My understanding is that I have to explicitely specify public for
> class fields, otherwise the compiler will issue an error.
What exactly do you mean here? Do you have an example?
Regards,
Sven
More information about the fpc-pascal
mailing list