[fpc-pascal] Record helper properties

Michael Van Canneyt michael at freepascal.org
Tue Apr 23 23:32:54 CEST 2019

On Tue, 23 Apr 2019, Ryan Joseph wrote:

> So I remember now that any fields are not allowed in helpers. Can anyone explain why this must be the case or if it could be fixed?

That should be obvious:

Because a helper can only add methods to a type, not additional storage
space (memory). The basic type determines the memory layout of the data. 
A helper cannot change that.


More information about the fpc-pascal mailing list