Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TStringList.Delete
Thu, Mar 7 2013 11:15 AMPermanent Link

Matthew Jones

I see that there is a TStrings.Remove, but why is there no TStrings.Delete? It is
what I have always used, so I don't understand the difference. If they are
effectively the same, perhaps it could be mirrored?

/Matthew Jones/
Fri, Mar 8 2013 11:18 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I see that there is a TStrings.Remove, but why is there no
TStrings.Delete? It is what I have always used, so I don't understand the
difference. If they are effectively the same, perhaps it could be mirrored?
>>

It has to do with the way the compiler works with internal functions -
there's a conflict with the built-in Delete procedure.  I'll be changing
this at some point so that the scope isn't inverted for built-in system
functions, and then I can introduce a Delete method.

Tim Young
Elevate Software
www.elevatesoft.com
Image