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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6353697ffeb79d16 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Encapsulating Ada.Direct_IO Date: Wed, 17 Nov 2010 19:16:07 -0600 Organization: Jacob Sparre Andersen Message-ID: References: <5ba4147a-6099-4a05-b548-09544f58247a@j18g2000yqd.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1290042969 24124 69.95.181.76 (18 Nov 2010 01:16:09 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 18 Nov 2010 01:16:09 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news2.google.com comp.lang.ada:16539 Date: 2010-11-17T19:16:07-06:00 List-Id: "Peter C. Chapin" wrote in message news:tM6dnaTzn6shVH7RRVn_vwA@giganews.com... ... > Something I wonder about (I don't have the answer) is if it necessary to > use a representation clause to force the size of the objects being read > to be 8 bits. I'm a little unclear if the standard requires Character to > be stored in a file in 8 bit units. That is, the language might treat > the type Character rather more abstractly than you want. Again I'm not > sure of this and I'd love to get some insights from others myself. Surely not. Not all machines have 8-bits as any sort of native type. For instance, the Unisys U2200 (a 36-bit machine, with 9-bit bytes) used Character'Size = 9. (It was great fun for the cross-compiler.) Randy.