[fpc-pascal] Initializing records and other complicated structures

Sven Barth pascaldragon at googlemail.com
Wed Sep 29 09:10:33 CEST 2010

Am 28.09.2010 21:03, schrieb Vincent Snijders:
> 2010/9/28 Jürgen Hestermann<juergen.hestermann at gmx.de>:
>> Sven Barth schrieb:
>>> It's enough code, because FillByte (and others) are defined with a "var"
>>> parameter and such the hint (not a warning) won't go away.
>>> It's an old topic already and we have just to live with it (regarding the
>>> Fill* functions). ^^
>> But why not simply change the definition of the variable to "out"? Then the
>> Fill* functions would be recognized as initializing routines.
> No, see http://bugs.freepascal.org/view.php?id=17020

That's what I meant, when I said it's an old topic. ;)


More information about the fpc-pascal mailing list