comp.lang.ada
 help / color / mirror / Atom feed
From: arizona.edu!cerritos.edu!nic.csu.net!vmsclst1.sc.csupomona.edu!mgeorgy@ar
Subject: Detecting EOL with SEQUENTIAL_IO!!!!!
Date: 14 Sep 92 00:08:44 GMT	[thread overview]
Message-ID: <1992Sep13.170844.1@vmsclst1.sc.csupomona.edu> (raw)

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          +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

                 reply	other threads:[~1992-09-14  0:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox