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,bffcdbd805329ff8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-31 06:55:04 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!157.161.139.35.MISMATCH!815432!news.imp.ch!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Ada and Internet stuff Date: Fri, 31 Aug 2001 09:34:31 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9mo3p9$22t$1@nh.pace.co.uk> References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 999264873 2141 136.170.200.133 (31 Aug 2001 13:34:33 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 31 Aug 2001 13:34:33 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:12607 Date: 2001-08-31T13:34:33+00:00 List-Id: My ARM says: "type Stream_Element is mod implementation-defined;" which would seem to suggest that an implementation is free to do anything they please. I think it would be foolish to use anything other than a size that lines up with your memory units and/or communications hardware and I'd be willing to bet a fair amount of money that the majority of Ada implementations are going to use 8-bit bytes for this. I could see reasons why an implementation might want to make Stream_Element 8-bits no matter what the internal storage unit size is. Streams are going to get used primarily for two things: Data in files and data along communication links. The bulk of that is going to be in 8-bit bytes, given the common trend in hardware. So I doubt there is any expressed or implied relationship between Stream_Element and Storage_Unit. 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/ wrote in message news:VNCj7.33150$sa.16737236@news1.rdc1.sfba.home.com... > Dealing with Stream_Element'size /= 8 raises the question: Is there > any required relationship between System.Storage_Unit (used in > record rep clause) and Stream_Element'size?