[fpc-pascal] Initializing records and other complicated structures

Jürgen Hestermann juergen.hestermann at gmx.de
Tue Sep 28 18:25:03 CEST 2010


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.




More information about the fpc-pascal mailing list