Notifications
Announcements
No record found.
I used TextIO api to process a txt file as size of 6,000KB and contains more than 5000 lines. My code can fetch the file and start to read, but will break before fully reading all lines. Does TextIO.read() has limitation for file size or number of lines to read?
Thank you for any feedback
Could you please elaborate what you mean by "will break"?
Thanks for quick reply, Martin
Actually the myline = myfile.read() variable contains only part of lines in txt file, such as if 5000 lines in txt file then only 3000 read into myline.
Hi Jerry,
Can you check if there is a size limit of your variable myline ?
You are right, It has limit for Str type. Let me try Memo instead.
Thanks Leo
Hi TianJerry,
Did you mean that myline variable has a string type? TextIO.read returns a container of values, not a string value.
docs.microsoft.com/.../gg957997(v=ax.60)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 559 Most Valuable Professional
André Arnaud de Cal... 464 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader