From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 27 Oct 92 17:40:52 GMT From: dog.ee.lbl.gov!overload.lbl.gov!agate!linus!linus.mitre.org!maestro!jclan der@ucbvax.Berkeley.EDU (Julian C. Lander) Subject: Re: sequential io with multiple types Message-ID: <1992Oct27.174052.6058@linus.mitre.org> List-Id: Perhaps I missed something (I've only caught part of this discussion), but why are you writing multiple types to the same file? Why not use record types, with or without discriminant? Then you instantiate Sequential_IO once, and it takes care of all of the details of writing, and the same instantiation will give you the structures you need when you read the file later. Julian C. Lander jclander@mitre.org