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 wr
Weiterlesen...