🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.components.misc
Article #21

Re: TStringList.Free?

#21
From: Frederic GUILLIEN
Date: Thu, 05 Mar 1998 00:00
21 lines
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   |
> +--------------------------------------------------------------+
Technical Details
Message-ID: <34FF005E.15D0@hol.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34FEC7D1.383@technodat.co.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 109d99,d92259f9432d0b6d
X-Google-Attributes: gid109d99,public
X-Google-Thread: 10c3d1,d92259f9432d0b6d
X-Google-Attributes: gid10c3d1,public
From: Frederic GUILLIEN <fguillien@hol.fr>
Subject: Re: TStringList.Free?
Date: 1998/03/05
Message-ID: <34FF005E.15D0@hol.fr>
X-Deja-AN: 331173496
Content-Transfer-Encoding: 8bit
References: <34FEC7D1.383@technodat.co.at>
To: Hans-Peter Haberlandner <hab1@technodat.co.at>
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Reply-To: fguillien@hol.fr
Newsgroups: comp.lang.pascal.delphi.components.misc,borland.public.delphi.vcl.components