🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TStringList.Free?

#20
From: Hans-Peter Haberlandner
Date: Thu, 05 Mar 1998 00:00
15 lines
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   |
+--------------------------------------------------------------+
Technical Details
Message-ID: <34FEC7D1.383@technodat.co.at>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c3d1,d92259f9432d0b6d,start
X-Google-Attributes: gid10c3d1,public
X-Google-Thread: 109d99,d92259f9432d0b6d,start
X-Google-Attributes: gid109d99,public
From: Hans-Peter Haberlandner <hab1@technodat.co.at>
Subject: TStringList.Free?
Date: 1998/03/05
Message-ID: <34FEC7D1.383@technodat.co.at>
X-Deja-AN: 331106210
Cache-Post-Path: hpwp1.technodat.co.at!unknown@pc43.technodat.co.at
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Technodat CAD/CAM
X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/)
Mime-Version: 1.0
Newsgroups: comp.lang.pascal.delphi.components.misc,borland.public.delphi.vcl.components