[fpc-devel] Redefine FillChar() to use out parameter instead

Florian Klaempfl florian at freepascal.org
Thu Nov 19 20:45:51 CET 2009

Vinzent Höfler schrieb:
> Florian Klaempfl <florian at freepascal.org>:
>> A VAROUT parameter could have the same semantics as VAR except that the
>> compiler does not expect that it is needed that it is initialized. But
>> be warned: with such a parameter type you can easily create memory leaks
>> with automated types like ansistrings.
> I don't understand the issue. 

Indeed, I noticed :)

More information about the fpc-devel mailing list