[fpc-pascal] Uniform initialization?

tobiasgiesen at gmail.com tobiasgiesen at gmail.com
Sun Nov 11 16:03:59 CET 2018


Hello,

Delphi 10.3 is going to support inline variable declarations like this:
begin
  var i : Integer := 22;
  WriteLn(i);
  end;

I would assume it can also be used with records. For details, please see
http://blog.marcocantu.com/blog/2018-october-inline-variables-delphi.html

So maybe that's the route to go.

Cheers,
Tobias





More information about the fpc-pascal mailing list