Am Sa., 10. Nov. 2018, 10:06 hat Ryan Joseph <r...@thealchemistguild.com>
geschrieben:

> Should’t this work? This would be a good way to set default record values
> but it doesn’t seem to be supported.
>

TMyRecord is not yet completely parsed. There could be another field
located behind the "default" constant. Thus using the type of the record
aside from Pointers and method parameters and result is not allowed.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to