From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5641e390ebac2f88 X-Google-Attributes: gid103376,public From: jsa@alexandria.organon.com (Jon S Anthony) Subject: Re: How does one use Ada.Streams.Stream_IO? Date: 1997/07/30 Message-ID: #1/1 X-Deja-AN: 260675976 Distribution: world References: <33DF3D90.155D@mail.connect.usq.edu.au> Organization: PSINet Newsgroups: comp.lang.ada Date: 1997-07-30T00:00:00+00:00 List-Id: In article <33DF3D90.155D@mail.connect.usq.edu.au> Matthew Kennedy writes: > OK, the solution to my multiple-record-types-from-the-one-file problem > is Ada.Streams.Stream_IO. However, I don't know how to instantiate(?) it > properly. > > Does anyone have a simple example of how to do this? > > Sources of examples I've already tried: > <...> > > But these have no mention of stream operations. Well, Barnes covers this in reasonable detail in 20.6 of _Programming in Ada95"_. Cohen covers this too - somewhere toward the end of the book (I have Barnes handy, but not Cohen...) /Jon -- Jon Anthony OMI, Belmont, MA 02178 617.484.3383 "Nightmares - Ha! The way my life's been going lately, Who'd notice?" -- Londo Mollari