[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

direct access files

Marie-Christine Timmermans writes:

    [..stuff deleted..]

    (send stream :set-pointer 0)
    (send stream :string-out "string")
    (send stream :set-pointer 1136)
    (send stream :string-out "other-string")
    When I try to execute this function, I receive the error message : 
    Error: File position 1136 not in file (length = 6)

    [..more stuff deleted..]

Direct access files are pretty flexible, but they don't allow you to
leave gaps! Note that the length of the file (given in the error
message) matches the length of your first string. If you want to put
another string at 1136, you'll have to have something in between that
position and your initial string.

John Krieger
Westinghouse Savannah River Company
s9274@srl1.lanl.gov (don't trust reply address)