Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!dali.cs.montana.edu!caen!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!ux1.cso.uiuc.edu!s.psych.uiuc.edu!amead From: amead@s.psych.uiuc.edu (alan mead) Newsgroups: comp.lang.pascal Subject: TURBO PASCAL: fancy file handling, please Message-ID: <1991Jun27.231235.2861@ux1.cso.uiuc.edu> Date: 27 Jun 91 23:12:35 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 15 I have an application written in TPv5.0 that needs several files. I am loath to increase their number. I already store one complex data type in a FILE OF COMPLEXREC; and now need to store another. I would prefer to store both in a single file. The data types are of different sizes, and I need to store 4-6 of the first kind for each of the second type. Is there a relatively simple way to treat a single file as a number of concatenated files (of differing format)? I wouldn't mind rewriting the Seek() routine if I could do it in TP (rather then assembly). Thanks much. -alan mead : amead@s.psych.uiuc.edu