[fpc-devel] is not operator
Tomas Hajny
XHajT03 at hajny.biz
Tue Sep 15 11:01:35 CEST 2026
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.
Tomas
More information about the fpc-devel
mailing list