James Richters via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
Sa., 10. Sep. 2022, 22:55:

>
> For some reason
> {$Mode FPC}
> {$modeswitch typehelpers}
> Still had Error: Identifier not found "class"
>

Because support for the "class" keyword is only available when the
modeswitch Class is enabled which is the case for the ObjFPC and Delphi
modes.
You don't need the TypeHelpers mode switch for "class helper", only for
"type helper".

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to