PDA

Click to See Complete Forum and Search --> : How to use SEEK on big files ???


Jhd.Honza
Aug 19th, 2000, 07:47 AM
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

Koralt
Aug 21st, 2000, 12:51 AM
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.

Koralt
Aug 21st, 2000, 06:10 PM
Ok, come to think of it, this will do:


GET fileno, readpos-2, a%

oetje
Aug 22nd, 2000, 04:45 AM
You must first seek to the beginning.