[fpc-pascal]About ansistrings.

Florian Klaempfl Florian.Klaempfl at gmx.de
Sun Dec 31 18:05:50 CET 2000


At 17:21 31.12.00 +0100, you wrote:

>Does this particular code generate the GPF or do you have some other
>code after new() ?
>as ansistrings are some sort of pointers, sometimes it makes problems
>when the variable is not correctly initialized.
>i don't know right now if new() clears the contents of the memory
>block (ie. sets to zero)

It does (and dispose cleans the ansistring up even if it nested in
arrays/records/objects)





More information about the fpc-pascal mailing list