[fpc-devel] is not operator
Sven Barth
pascaldragon at googlemail.com
Tue Sep 15 14:13:04 CEST 2026
Tomas Hajny via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Di.,
15. Sep. 2026, 11:01:
> On 2026-09-15 10:24, Ondrej Pokorny via fpc-devel wrote:
> > Am 15.09.2026 um 7:08 schrieb Thorsten Engler via fpc-devel:
> >> -----Original Message-----
> >> From: fpc-devel <fpc-devel-bounces at lists.freepascal.org> On Behalf Of
> >> Mattias Gaertner via fpc-devel
> >> Sent: Sunday, 13 September 2026 16:28
> >>> Frankly speaking, fpc already has an awful amount of modeswitches.
> >>> A modeswitch just for "is not" sounds overkill.
> >>> Same for "not in".
> >>> Maybe we can group such minor delphi peculiarities in one modeswitch?
> >> Shouldn't it simply be part of $MODE DELPHI ?
> >
> > Usually different features are driven by modeswitches. $MODE then
> > selects the needed switches for the mode.
>
> Not all features require specific modeswitches - these are usually used
> only in case if it is expected / required that developers may enable a
> particular modeswitch that is _not_ included in the used $MODE, but the
> developer wants to use it nevertheless.
>
It could also be that one wants to explicitly *disable* some functionality
which is possible with "$Modeswitch Name-" after all.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20260915/4a26d3eb/attachment.htm>
More information about the fpc-devel
mailing list