<div dir="ltr"><div>Every modern language has inline variabler declarations because it was always a thing in the one most of us care about.<br><br></div><div>Not having inline variables means that our strongly typed language Pascal doesn't have as precise a scoping of variables as possible, preventing read access before initialization, which is a major smell in the pascal language and compiler designs.</div><div><br></div><div>Warren</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2026 at 1:53 AM Marco van de Voort via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@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"><br>
Op 24-4-2026 om 10:12 schreef Martin Frb via fpc-pascal:<br>
> CC'ed to <a href="mailto:fpc-other@lists.freepascal.org" target="_blank">fpc-other@lists.freepascal.org</a> => for follow ups<br>
><br>
> On 23/04/2026 15:23, Graeme Geldenhuys via fpc-pascal wrote:<br>
>> On Thursday, 23 April 2026 10:53:02 BST michael via fpc-pascal wrote:<br>
>>> Other than that I have no knowledge of missing delphi things except<br>
>>> inline variables.<br>
>> I just just reading a article from a few years ago, explaining the pros and<br>
>> cons of inline variables. It actually made a really good case for that. There<br>
>> is a open MR for inline variables already - just not review/merged.<br>
>><br>
>> <a href="https://blogs.embarcadero.com/introducing-inline-variables-in-the-delphi-language/" rel="noreferrer" target="_blank">https://blogs.embarcadero.com/introducing-inline-variables-in-the-delphi-language/</a><br>
> Apart from the general yes/no question....<br>
> (and I haven't looked deep into language design..., still...)<br>
><br>
(also, many people want to read in that stack layout follows the nesting <br>
of inline variables. I however think that there is no direct relation <br>
between declaring and where the stackframe is created. (probably once at <br>
the beginning only) But I don't have a new enough Delphi, and the thread <br>
died before anybody answered)<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div>