[fpc-pascal] Uniform initialization?

Sven Barth pascaldragon at googlemail.com
Sun Nov 11 18:21:50 CET 2018


Am 11.11.2018 um 16:03 schrieb tobiasgiesen at gmail.com:
> 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.
We've already decided internally that we are *not* going to support this.

Regards,
Sven



More information about the fpc-pascal mailing list