I would like to set a position in a file, but SEEK has only integer input and I need to go further then only 32k. Has anybody more productive idea then go to maxim position and read continuously?
Thanks,
John
Printable View
I would like to set a position in a file, but SEEK has only integer input and I need to go further then only 32k. Has anybody more productive idea then go to maxim position and read continuously?
Thanks,
John
It's possible, I suppose, to do something like the following:
GET fileno, readlocation-2, a%
PUT fileno, readlocation-2, a%
.
.
.
This will emulate SEEK.
Ok, come to think of it, this will do:
GET fileno, readpos-2, a%
You must first seek to the beginning.