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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, LOTS_OF_MONEY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,842accb6a7d76669 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-05 13:22:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.1 Date: Mon, 5 Nov 2001 15:45:54 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9s6tq5$i2r$1@nh.pace.co.uk> References: <3BE301D1.4010106@telepath.com> <9s6d45$bd2$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1004993157 18523 136.170.200.133 (5 Nov 2001 20:45:57 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 5 Nov 2001 20:45:57 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:15857 Date: 2001-11-05T20:45:57+00:00 List-Id: Oh, just convenience and simplicity I guess. Not sure what the "correct" idiom should be here. I regularly confuse myself in trying to re-remember exactly how Streams are supposed to behave and hiding that under a relatively straightforward procedure seems to free up those brain cells. After all, the calls I outlined pretty much say what is supposed to happen: "Get this list out of this file" or "Put this list into this file" in much the same way one would view "Put_Line (Somefile, Somestring) ;" I could see getting there via the Stream_Read and Stream_Write as you outlined. It just seems to require more brain cells to get there. Probably more flexible, so I wouldn't want to see them go away. I guess its more a matter of taste than an engineering question. I'm not married to the idea so if there are really strong objections, I wouldn't be hurt if it found its way into the bit bucket. It would be interesting to know if other folks would prefer the Load/Store I suggested (in conjunction with the Stream_Read/Write) or just the Stream_Read/Write. MDC Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Ted Dennison" wrote in message news:AjCF7.13578$xS6.18106@www.newsranger.com... > > What's wrong with the Stream_Read and Stream_Write routines? You can get from > those to your version with one call to Ada.Streams.Stream_IO.Stream (File) >