[fpc-pascal] Default record const values

Ryan Joseph ryan at thealchemistguild.com
Mon Nov 12 02:08:19 CET 2018

> On Nov 12, 2018, at 5:06 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> The compiler now correctly rejects such declarations with a "Type is not completely defined error".

But this syntax worked if you assigned it within blocks. Why does it need to be removed? Since I discovered it I was planning on using it instead of class functions with default values which require an implementation and are much longer to write.

	Ryan Joseph

More information about the fpc-pascal mailing list