Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ub!uhura.cc.rochester.edu!elmo From: elmo@uhura.cc.rochester.edu (Eric Cabot) Newsgroups: comp.lang.pascal Subject: Re: more fun things to do with files Message-ID: <8975@ur-cc.UUCP> Date: 17 Aug 90 04:16:06 GMT References: <6789.26caaab3@jetson.uh.edu> <90228.192439SPRAGGEJ@QUCDN.BITNET> Reply-To: elmo@uhura.cc.rochester.edu (Eric Cabot) Organization: University of Rochester Lines: 15 using a file of byte. I think this will work. On the other hand I have a feeling the using APPEND rather than REWRITE maybe used either with the file of BYTE solution or with the original file structures. It would be necessary to check the size of the files and make sure that the program doesn't get confused by the switch of types. I bet you that it won't because APPEND should simply involve moving the file pointer to the end of the file before writing to it. Reading the stuff back in will definitely require useing either the file of byte approach or the combined record approach mentioned earlier, memory permitting. -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Eric Cabot | elmo@{uhura | db1}.cc.rochester.edu "insert your face here" | elmo@urodbv.bitnet =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=