Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Reading and Writing Large csv file 5 years 4 months ago #12928

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
I have one Delphi Tokyo 10.2 console application which uses TStreamReader & TStreamWrite for reading and writing large (>1 to 4 GB) csv file for Linux. The application runs perfectly in other Linux OS except for CentOS 6 64bit. Unfortunately, that application developed for CentOS 6 64bit. I tried to use CT 6.60 but there TStreamReader is available and TStreamWrite is not available. TStreamReader & TStreamWrite reads/writes without using any CPU usage that's why I used it. How can I do that with CodeTyphon, please help?

P.S.: See the attached screenshot which I got the error in CentOS 6 64bit.

Please Log in or Create an account to join the conversation.

Reading and Writing Large csv file 5 years 4 months ago #12929

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1060
  • Thank you received: 149
My suggestion is to use
CT TFileStream for classes unit
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Reading and Writing Large csv file 5 years 4 months ago #12931

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
TFileStream doesn't have any line by line read/write feature whereas Delphi's TStreamReader/TStreamWriter has that feature. I need to read line by line as I have to add additional text on each line and save to another file. Please help how to achieve it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1