Vote UpVote

Introducing Inline Variables in the Delphi Language

Marco's Tech Blog – The Delphi language in 10.3 has a fairly core change in the way it allows far more flexibility in the declaration of local variables, their scope and lifetime. This is a change that breaks a key tenet of the original Pascal language, but offers a significant number of advantages, reducing unneeded code in several cases. Old Style Var BlocksĀ  Since Turbo Pascal 1 and until now, following classic Pascal language rules, all local variable declarations had to be done in a var block written before the beginning of a function, procedure or method: procedure Test; var I: Integer; ...
Favorite? Off-Topic? marcocantu @ 2018-10-29 10:23


Visits: 964
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Bruce McGee
Jiri Vrazdil
Ph. B.
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)