[fpc-pascal] Checking if a TStringList already exists

Sven Barth pascaldragon at googlemail.com
Tue May 21 07:52:24 CEST 2019


James Richters <james at productionautomation.net> schrieb am Mo., 20. Mai
2019, 15:23:

> Thank you very much for the explanation and examples of this!   I am glad
> you pointed out the FreeAndNill() function, I will defiantly be needing
> that.
>

Though you need to keep in mind that only that single variable will be set
to Nil. Should there be other variables or fields that point to the same
object instance they will stay as non-Nil.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190521/1043942c/attachment.html>


More information about the fpc-pascal mailing list