[fpc-pascal] Case statement for class introspection
Ryan Joseph
genericptr at gmail.com
Sun Jan 16 14:56:40 CET 2022
> On Jan 16, 2022, at 8:38 PM, Marco van de Voort via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> What does it print in this case? I mean tobject matches, and tinterfacedobject too.
>
> The most logic solution would be to only run the most specialized case?
It would print the name of the class if it didn't exist in the list. It's an incomplete code snippet but if the class was another type it would be captured there of course.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list