Results 1 to 2 of 2

Thread: another file input problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Posts
    153

    another file input problem

    Does anyone know how to start reading information from a txt file from a location (which would be in the form of a saved LOC)

    eg open "txtfile1"for outpur as #1
    open "txtfile2 for output as #2
    write #2, LOC(1)

    This would save the current byte location of txtfile 1, but how could I start inputting from that location some other time??? thnx.

  2. #2
    DerFarm
    Guest
    Open as binary. The documentation shows how to read from a
    sequential file as binary...which is essentially one character at a
    time. There is probably a better way to do it, maybe involving
    Get and PUT, but I don't know them right off hand.

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