Returning to point in files

Hello,

I am opening a file and reading from it. I need to leave the file and
then return to the position that i finished reading at.

OK, so i can get the exact position in bytes using pipe.pos

However when i return to the file i then need to jump back to this
position, i can’t seem to so this using ios.seek, is there a way to do
this?

The final resort i suppose would be to write something to the file to
mark the last position of reading and then when returning read and do
nothing untill you hit this spot… any other ideas?

Thanks, Jamie