Re: [fpc-pascal] Checking if a TStringList already exists

2019-05-20 Thread Sven Barth via fpc-pascal
James Richters 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. S

Re: [fpc-pascal] Checking if a TStringList already exists

2019-05-20 Thread Giuliano Colla
Il 20/05/2019 15:23, James Richters ha scritto: 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. James Then you might also appreciate the function Assign

Re: [fpc-pascal] Checking if a TStringList already exists

2019-05-20 Thread James Richters
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. James -Original Message- From: fpc-pascal On Behalf Of Michael Van Canneyt Sent: Monday, May 20, 2019 8:03 AM To: FPC-Pascal users dis

Re: [fpc-pascal] Checking if a TStringList already exists

2019-05-20 Thread Michael Van Canneyt
On Mon, 20 May 2019, James Richters wrote: I’m wondering if there is a way to test if a tstringlinst has been created yet? I looked at the documentation in these two locations: https://lazarus-ccr.sourceforge.io/docs/rtl/classes/tstringlist.html and https://lazarus-ccr.sourceforge.io/doc

[fpc-pascal] Checking if a TStringList already exists

2019-05-20 Thread James Richters
I’m wondering if there is a way to test if a tstringlinst has been created yet? I looked at the documentation in these two locations: https://lazarus-ccr.sourceforge.io/docs/rtl/classes/tstringlist.html and https://lazarus-ccr.sourceforge.io/docs/rtl/classes/tstrings.html but they do no