Results 1 to 4 of 4

Thread: How to use SEEK on big files ???

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350
    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

  2. #2
    Member
    Join Date
    Aug 2000
    Location
    USA
    Posts
    32
    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

  3. #3
    Member
    Join Date
    Aug 2000
    Location
    USA
    Posts
    32
    Ok, come to think of it, this will do:


    GET fileno, readpos-2, a%
    -Koralt

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    You must first seek to the beginning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width