<html><body><div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sep 1, 2025 at 3:44:17 PM, Nikolay Nikolov 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><p>You're more likely to see things like:</p>
<p>a := if x > 10 then 1 else -1;</p>
<p>instead of</p>
<p>if x > 10 then<br>
a := 1<br>
else</p>
<p> a := -1;</p>
<p></p></div>
</blockquote>
</div>
<br>
<div dir="ltr">
Yes I agree but in C-like languages I do use it in function parameters just as often. Still feeling like IfThen if made a real intrinsic would be most readable and Pascal-like. Since this new expression exists now making the intrinsic would be extremely trivial.</div></body></html>