tstringlist Questions

10

Solved

I'm working on a simulation program. One of the first things the program does is read in a huge file (28 mb, about 79'000 lines,), parse each line (about 150 fields), create a class for the object...
Ingredient asked 25/8, 2011 at 16:4

5

Solved

I want to display the entire content of a TStringList while debugging the application. Instead I just get pointers. The Flist is showing only the address.
Beffrey asked 15/8, 2011 at 16:21

5

Solved

In Delphi 6 if you try to insert an object into a TStringList that is sorted (Sorted = true) an Exception is thrown warning you that InsertObject() is not allowed on a sorted list. I could understa...
Apophasis asked 24/5, 2011 at 13:39

6

Solved

I'm simply curious as lately I have been seeing the use of Hashmaps in Java and wonder if Delphi's Sorted String list is similar at all. Does the TStringList object generate a Hash to use as an in...
Arita asked 25/2, 2011 at 1:58

3

Solved

I'm currently working on a program to generate the hashes of files, in Delphi 2010. As part of this I have a option to create User Presets, e.g. pre-defined choice of hashing algo's which the user ...
Irruptive asked 9/1, 2011 at 2:43

1

Solved

I am creating my first custom Delphi component. Its basically a custom Tpanel with header and lines text displayed on it. I want to be able to add multiple lines text using a stringlist. When t...
Archaize asked 29/10, 2010 at 9:25

5

Solved

I implemented language translation in an application by putting all strings at runtime in a TStringList with: procedure PopulateStringList; begin EnglishStringList.Append('CAN_T_FIND_FILE=It is ...
Timeous asked 14/9, 2010 at 14:23

3

Solved

I have a simple string which is delimited by some character, let's say a comma. I should be able to create a TStringList and set it's delimiter to a comma then set the DelimitedText to the text I w...
Feder asked 17/6, 2010 at 17:15

7

Solved

I have a choice. I have a number of already ordered strings that I need to store and access. It looks like I can choose between using: A TStringList A Dynamic Array of strings, and A Linked List...
Tachycardia asked 21/4, 2010 at 5:51

3

Solved

I have a simple TStringList. I do a TStringList.Sort on it. Then I notice that the underscore "_" sorts before the capital letter "A". This was in contrast to a third party package that was sorti...
Didymous asked 1/2, 2010 at 6:34

© 2022 - 2024 — McMap. All rights reserved.