- This topic has 2 replies, 3 voices, and was last updated 4 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Integrated Application Platform
Integrated Application Platform › Forums › General › Read a file from where I left off
Hi,
I need to send a file to a function.
Before I sent the file I read a few lines.
How do I make sure that in the function I can read the file from where I left off?
file.Readline/Read returns the next line/bytes from a file, so it should keep the current position by default.
This is assuming you are using the same file object to read the file in both places and that you are not re-opening the file.