Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jeansberg

    The end of a binary file being cut

    That got rid of the error message. Unfortunately the problem with the missing part at the end of the file is still there.
  2. jeansberg

    The end of a binary file being cut

    The rec specifier is required for direct access data transfer, which is required for reading and writing a binary file correctly. Unfortunately an END tag is not allowed with a rec specifier.
  3. jeansberg

    The end of a binary file being cut

    Hi xwb. I have tried using the 'end = ...' before, but when I try compiling the program I get this error message: read(4, rec=i, end = 200) a 1 Error: REC tag at (1) is incompatible with END tag I am using the G95 compiler on Windows 2000.
  4. jeansberg

    The end of a binary file being cut

    I have been trying to make a program that copies binary files. I have used autocad .dwg files. When I open the binary files in a text editor and compare them to the originals they are identical, EXCEPT for a few symbols on the last line. Could this be because the last record is not getting...
  5. jeansberg

    Including blank lines when reading a file.

    Ok. Thank you very much, gullipe.
  6. jeansberg

    Including blank lines when reading a file.

    Thank you very much, gullipe! It works as it should now. I have to ask you what the meaning of '(a)' is in the following line: ---------------------- read(4,'(a)',end=10) a ---------------------- I think it is some kind of formatting, but I haven't studied that very much yet.
  7. jeansberg

    Including blank lines when reading a file.

    Hello I am learning Fortran and I am currently trying to write a program that reads a text-file and prints it on the screen. The problem I am having is that all blank lines are skipped. I get this on the screen: ****.123 ******.abc ****.txt Instead of this: ****.123 ******.abc ****.txt...

Part and Inventory Search

Back
Top