Thank you for correcting my error, that did work, but I think I will take your advice and try to use TCSVDocument, that looks like it will be much simpler and give me a 2 dimensional array which is what I really wanted to end up with.
Thanks for the documentation link and the suggestion! James _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal