Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Delphi > Has a TStringli...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 13 Topic 1081 of 1133
Post > Topic >>

Has a TStringlist been created

by Rich <taxidermist@[EMAIL PROTECTED] > Oct 12, 2006 at 09:36 PM

What is the proper way to see if a TStringlist has been created or not and 
if not then create it?

I am thinking it is 

if TStringlist = nil then
  TStringList := TStringList.Create;

Is that right or would that just tell if the TStringList is empty?

Rich
 




 13 Posts in Topic:
Has a TStringlist been created
Rich <taxidermist@[EMA  2006-10-12 21:36:53 
Re: Has a TStringlist been created
Rob Kennedy <me3@[EMAI  2006-10-13 01:11:39 
Re: Has a TStringlist been created
erewhon@[EMAIL PROTECTED]  2006-10-13 06:58:58 
Re: Has a TStringlist been created
Nicholas Sherlock <N.s  2006-10-13 19:58:22 
Re: Has a TStringlist been created
erewhon@[EMAIL PROTECTED]  2006-10-13 08:09:50 
Re: Has a TStringlist been created
Jamie <jamie_ka1lpa_no  2006-10-13 14:08:16 
Re: Has a TStringlist been created
erewhon@[EMAIL PROTECTED]  2006-10-14 08:08:16 
Re: Has a TStringlist been created
Nicholas Sherlock <N.s  2006-10-14 07:20:43 
Re: Has a TStringlist been created
erewhon@[EMAIL PROTECTED]  2006-10-14 08:12:43 
Re: Has a TStringlist been created
Nicholas Sherlock <N.s  2006-10-15 12:16:54 
Re: Has a TStringlist been created
erewhon@[EMAIL PROTECTED]  2006-10-15 08:18:27 
Re: Has a TStringlist been created
Jamie <jamie_ka1lpa_no  2006-10-13 14:00:11 
Re: Has a TStringlist been created
Jamie <jamie_ka1lpa_no  2006-10-28 23:23:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:36:05 CDT 2008.