Thread View: comp.lang.pascal.delphi.components.misc
2 messages
2 total messages
Started by Hans-Peter Haberlandner
Thu, 05 Mar 1998 00:00
TStringList.Free?
Author: Hans-Peter Haberlandner
Date: Thu, 05 Mar 1998 00:00
Date: Thu, 05 Mar 1998 00:00
15 lines
1348 bytes
1348 bytes
Hi, if I add strings to a TStringList and don't have additional objects - is it okay to call .Free to delete the TStringList incl. the strings or do I have to call .Clear before the .Free? Thanks Hans-Peter -- +--------------------------------------------------------------+ | Hans-Peter Haberlandner mailto:hab1@technodat.co.at | | Technodat CAD/CAM http://www.technodat.at | | Jakob Haringer-Strasse 6 Phone: +43 - (0)662-454944-670 | | A-5020 Salzburg FAX: +43 - (0)662-454944-9 | +--------------------------------------------------------------+
Re: TStringList.Free?
Author: Frederic GUILLIEN
Date: Thu, 05 Mar 1998 00:00
Date: Thu, 05 Mar 1998 00:00
21 lines
1395 bytes
1395 bytes
Free call Clear itself. Fr�d�ric GUILLIEN Hans-Peter Haberlandner wrote: > > Hi, > if I add strings to a TStringList and don't have additional objects - > is it okay to call .Free to delete the TStringList incl. the strings or > do I have to call .Clear before the .Free? > > Thanks > Hans-Peter > -- > +--------------------------------------------------------------+ > | Hans-Peter Haberlandner mailto:hab1@technodat.co.at | > | Technodat CAD/CAM http://www.technodat.at | > | Jakob Haringer-Strasse 6 Phone: +43 - (0)662-454944-670 | > | A-5020 Salzburg FAX: +43 - (0)662-454944-9 | > +--------------------------------------------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads