<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>> schrieb am Do., 21. Juni 2018, 09:24:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 20 Jun 2018 21:56:56 +0200<br>
Sven Barth via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a>> wrote:<br>
<br>
>[...]<br>
> The modeswitch is enabled by default in Delphi modes as this feature was <br>
> added for Delphi compatibility.<br>
<br>
I would like to use that for objfpc.<br>
Is there a command line flag to enable a modeswitch?<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Not tested, but -MArrayOperators *should* work (it takes both modes and modeswitches). </div><div dir="auto">One point to keep in mind however: any single modeswitch setting is overwritten once a mode is encountered, this includes both the $mode directive and the -M option (or e.g. -S2). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>