[fpc-pascal]About ansistrings.

Florian Klaempfl Florian.Klaempfl at gmx.de
Sun Dec 31 19:20:20 CET 2000


At 18:46 31.12.00 +0100, you wrote:
>Hello Florian,
>
>Sunday, December 31, 2000, 6:05:50 PM, you wrote:
>FK> It does (and dispose cleans the ansistring up even if it nested in
>FK> arrays/records/objects)
>
>good :)
>
>what about FillChar() to zero when the string is already set?

This will fail. Then you've to do a
finalize(data);
fillchar(data,sizeof(data),0);

Be careful: finalize is supported only in the 1.1 branch.





More information about the fpc-pascal mailing list