On Mon, 18 Jul 2016 23:30:47 +0200 (CEST), Michael Van Canneyt <mich...@freepascal.org> wrote:
>> Are there other commands it does detect as initialization of the >> variable? > >not that I know of. > >you need to assign it a value, you can assign it default(yourtype) > OK, I did not know about the default keyword. Is "default" zero? i.e. var HD: TSSReadingHeader; .. begin HD := Default(TSSReadingHeader); And now HD.anything is zero? -- Bo Berglund Developer in Sweden _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal