[fpc-pascal] Feature announcement: Dynamic array extensions

Sven Barth pascaldragon at googlemail.com
Thu Jun 21 11:22:05 CEST 2018


Mattias Gaertner <nc-gaertnma at netcologne.de> schrieb am Do., 21. Juni 2018,
09:24:

> On Wed, 20 Jun 2018 21:56:56 +0200
> Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> >[...]
> > The modeswitch is enabled by default in Delphi modes as this feature was
> > added for Delphi compatibility.
>
> I would like to use that for objfpc.
> Is there a command line flag to enable a modeswitch?
>

Not tested, but -MArrayOperators *should* work (it takes both modes and
modeswitches).
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).

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180621/b1b916d2/attachment.html>


More information about the fpc-pascal mailing list