[fpc-pascal] Get highest element of a StringList

Sven Barth pascaldragon at googlemail.com
Sun Sep 11 11:28:58 CEST 2022


James Richters via fpc-pascal <fpc-pascal at 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

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220911/c4a548b6/attachment.htm>


More information about the fpc-pascal mailing list