[fpc-pascal] Using built-in serial instead of synaser and the like for Linux console app?

Jean SUZINEAU Jean.Suzineau at wanadoo.fr
Tue Sep 1 12:46:04 CEST 2020


Le 01/09/2020 à 10:49, Bo Berglund via fpc-pascal a écrit :
> Is there no way to declare a property to have a default non-zero
>
> value?
>
I'm not sure but I think the syntax is for this something like

property ReadPacketSize: integer read FPacketSize write FPacketSize default 10;

Reference: https://www.freepascal.org/docs-html/ref/refse27.html



More information about the fpc-pascal mailing list