home *** CD-ROM | disk | FTP | other *** search
- 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
- From: mgeorgy@vmsclst1.sc.csupomona.edu
- Newsgroups: comp.lang.ada
- Subject: Detecting EOL with SEQUENTIAL_IO!!!!!
- Message-ID: <1992Sep13.170844.1@vmsclst1.sc.csupomona.edu>
- Date: 14 Sep 92 00:08:44 GMT
- Organization: Computer Science Computational Systems
- Lines: 18
- Nntp-Posting-Host: csvax4
- Nntp-Posting-User: mgeorgy
-
- Basiclly I am trying to read an image file that can very in size. Because of
- the type of the information in the file I am using SEQUENTIAL_IO. The problem
- is that I need to write the file again hopefully in the same format as the
- original (ie I read a 512 X 512 file I write a 512 x 512 file not, 262144 byte
- line). So far when I write a dummy read program (read one byte write one byte)
- the system has been recognizing the LF at the end of the 512 stream and
- transfers it to the new file. The other problem is that I don't want to limit
- my program by always having the max array size defined (512 X 512), I would
- like it to very with each image read!!!
-
- Any help greatly appreciated!!!
- Matt Georgy
- California State Polytechnic State University, Pomona -- Computer Science
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- +When It Absolutely, Positively, Has To Be Taken Out Overnight!!!+
- + +
- + -- Team Stealth +
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-