I really need help with Delphi... text files and arrays with sorting?

Posted by DTB on Stack Overflow See other posts from Stack Overflow or by DTB
Published on 2010-05-18T21:06:25Z Indexed on 2010/05/18 21:10 UTC
Read the original article Hit count: 200

Filed under:

I have read a text file (of names) into an array and I need how to sort those names into alphabetical order and display that in a rich edit?

Please give me the code from this point onwards:

readln(myfile,arr[i]);

'myfile' is the text file and 'arr' is the array of string. Also, I have declared 'i' as an integer even though it is a array of string. Is that OK?

© Stack Overflow or respective owner

Related posts about delphi