Read a text file in any position.
Giovanni Di Maria
calimero22 at yahoo.it
Fri Jan 18 08:10:25 UTC 2019
Hi All
I have a text file like this:
111111
222222
333333
444444
555555
666666
777777
......
I execute these functions:
i = archive.readln();
i = archive.readln();
i = archive.readln();
i = archive.readln();
so "i" is 444444.
Is there a method to move the pointer of file to beginning of
file or to any position (for example back to 2nd row), without to
close the file?
Thank you very much.
Regards
Giovanni
More information about the Digitalmars-d-learn
mailing list