[fpc-pascal] Parameterless constructors are not allowed in records or record/type helpers

Ryan Joseph ryan at thealchemistguild.com
Sun Feb 5 08:43:04 CET 2017


Why is this restriction in place and what are the alternatives if any? Some times I want to just provide a method that sets default values for a record without any parameters but FPC doesn’t let me for some reason.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list