Re: Info about the -Mdelphi mode

DougC via fpc-pascal <[email protected]> Sat, 25 Apr 2026 12:53:57 -0400
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
--===============6942266645071113434==
Content-Type: multipart/alternative; 
	boundary="----=_Part_3439686_180312468.1777136037764"

------=_Part_3439686_180312468.1777136037764
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

"it was always a thing in the one most of us care about". Why the coy reference? What language is that, that I'm supposed to care about?



"a major smell in the pascal language" - nope. A minor smell. at best.



Doug C.






From: Warren Postma via fpc-pascal <[email protected]>
Date: Sat, 25 Apr 2026 12:46:38 -0400
Subject: Re: [fpc-pascal] Info about the -Mdelphi mode



Every modern language has inline variabler declarations because it was always a thing in the one most of us care about.


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.



Warren
------=_Part_3439686_180312468.1777136037764
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>=
<meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"></h=
ead><body ><div style=3D"font-family: Calibri, Verdana, Arial, sans-serif; =
font-size: 12pt;"><div>"it was always a thing in the one most of us care ab=
out". Why the coy reference? What language is that, that I'm supposed to ca=
re about?<br></div><div><br></div><div>"a major smell in the pascal languag=
e" - nope. A minor smell. at best.<br></div><div><br></div><div>Doug C.</di=
v><div><br></div><div class=3D"zmail_extra_hr" style=3D"border-top: 1px sol=
id rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-bottom: 10px; =
line-height: 0px;"><br></div><div class=3D"zmail_extra" data-zbluepencil-ig=
nore=3D"true"><div><br></div><div id=3D"Zm-_Id_-Sgn1">From: Warren Postma v=
ia fpc-pascal &lt;[email protected]&gt;<br>Date: Sat, 25 Apr =
2026 12:46:38 -0400<br>Subject: Re: [fpc-pascal] Info about the -Mdelphi mo=
de<br></div><div><br></div><blockquote style=3D"margin: 0px;" id=3D"blockqu=
ote_zmail"><div><div dir=3D"ltr"><div>Every modern language has inline vari=
abler 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 strong=
ly typed language Pascal doesn't have as precise a scoping of variables as =
possible, preventing read access before initialization, which is a major sm=
ell in the pascal language and compiler designs.<br></div><div><br></div><d=
iv>Warren<br></div></div></div></blockquote></div><div><br></div></div><br>=
</body></html>
------=_Part_3439686_180312468.1777136037764--


--===============6942266645071113434==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

--===============6942266645071113434==--