<html><body><div dir="ltr">
    far more common for me is: if not (xxx in yyy) then. By the same logic it should be: if xxx not in yyy then </div>
<br>
<div class="gmail_quote">
    <div dir="ltr" class="gmail_attr">On Sep 11, 2026 at 2:00:47 PM, Mattias Gaertner via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div>
    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" type="cite">
        
<div>
<div>
    Hi,<br><br>I would like to implement the "is not" operator in fpc. It was <br>introduced in Delphi 13.<br><br>For example:<br><br>if Obj is not TStringList then ...<br><br>It has the same precedence as "is". Since after "is" there can be only <br>an instance, class, interface, etc, and "not" is an all mode keyword, <br>I'm not aware of any conflicts or ambiguities - aka it cannot break any <br>existing code.<br><br>Ok?<br><br>Mattias<br><br>_______________________________________________<br>fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br><a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</div>
    </blockquote>
</div></body></html>