home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / ada / 2596 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.6 KB

  1. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ncar!noao!arizona!arizona.edu!cerritos.edu!nic.csu.net!vmsclst1.sc.csupomona.edu!mgeorgy
  2. From: mgeorgy@vmsclst1.sc.csupomona.edu
  3. Newsgroups: comp.lang.ada
  4. Subject: Detecting EOL with SEQUENTIAL_IO!!!!!
  5. Message-ID: <1992Sep13.170844.1@vmsclst1.sc.csupomona.edu>
  6. Date: 14 Sep 92 00:08:44 GMT
  7. Organization: Computer Science Computational Systems
  8. Lines: 18
  9. Nntp-Posting-Host: csvax4
  10. Nntp-Posting-User: mgeorgy
  11.  
  12. Basiclly I am trying to read an image file that can very in size.  Because of 
  13. the type of the information in the file I am using SEQUENTIAL_IO.  The problem
  14. is that I need to write the file again hopefully in the same format as the 
  15. original (ie I read a 512 X 512 file I write a 512 x 512 file not, 262144 byte 
  16. line).  So far when I write a dummy read program (read one byte write one byte)
  17. the system has been recognizing the LF at the end of the 512 stream and 
  18. transfers it to the new file.  The other problem is that I don't want to limit
  19. my program by always having the max array size defined (512 X 512), I would
  20. like it to very with each image read!!!
  21.                      
  22. Any help greatly appreciated!!!
  23. Matt Georgy
  24. California State Polytechnic State University, Pomona  -- Computer Science
  25. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  26. +When It Absolutely, Positively, Has To Be Taken Out Overnight!!!+
  27. +                                                                +
  28. +                                      --  Team Stealth          +
  29. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  30.