<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">James Richters via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Sa., 10. Sep. 2022, 22:55:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
For some reason<br>
{$Mode FPC}<br>
{$modeswitch typehelpers}<br>
Still had Error: Identifier not found "class"<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto">You don't need the TypeHelpers mode switch for "class helper", only for "type helper". </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>